[FFmpeg-devel] [PATCH] ffplay: display information on stream cycling

Michael Niedermayer michaelni at gmx.at
Wed Mar 12 00:32:53 CET 2014


On Tue, Mar 11, 2014 at 10:44:37PM +0100, Marton Balint wrote:
> 
> On Tue, 11 Mar 2014, Michael Niedermayer wrote:
> 
> >Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> >---
> >ffplay.c |    5 +++++
> >1 file changed, 5 insertions(+)
> >
> >diff --git a/ffplay.c b/ffplay.c
> >index ed7f180..c86f94f 100644
> >--- a/ffplay.c
> >+++ b/ffplay.c
> >@@ -3120,6 +3120,11 @@ static void stream_cycle_channel(VideoState *is, int codec_type)
> > the_end:
> >    if (p && stream_index != -1)
> >        stream_index = p->stream_index[stream_index];
> >+    av_log(NULL, AV_LOG_INFO, "Switch %s stream from #%d to #%d\n",
> >+           av_get_media_type_string(codec_type),
> >+           old_index,
> >+           stream_index);
> >+
> >    stream_component_close(is, old_index);
> >    stream_component_open(is, stream_index);
> >}
> >-- 
> >1.7.9.5
> 
> LGTM, thanks.

applied

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140312/31b20215/attachment.asc>


More information about the ffmpeg-devel mailing list