[FFmpeg-devel] [PATCH 4/4] ffplay: add support for changing the channel by the C key
Stefano Sabatini
stefasab at gmail.com
Sun Oct 13 19:47:11 CEST 2013
On date Sunday 2013-10-06 21:32:58 +0200, Marton Balint encoded:
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> ffplay.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/ffplay.c b/ffplay.c
> index 4b88146..80adc83 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -3194,6 +3194,11 @@ static void event_loop(VideoState *cur_stream)
> case SDLK_v:
> stream_cycle_channel(cur_stream, AVMEDIA_TYPE_VIDEO);
> break;
> + case SDLK_c:
> + stream_cycle_channel(cur_stream, AVMEDIA_TYPE_VIDEO);
> + stream_cycle_channel(cur_stream, AVMEDIA_TYPE_AUDIO);
> + stream_cycle_channel(cur_stream, AVMEDIA_TYPE_SUBTITLE);
> + break;
> case SDLK_t:
> stream_cycle_channel(cur_stream, AVMEDIA_TYPE_SUBTITLE);
> break;
Missing doc updates.
--
FFmpeg = Fantastic and Friendly MultiPurpose Erotic Glue
More information about the ffmpeg-devel
mailing list