[MPlayer-dev-eng] [PATCH] switching video stream

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Nov 16 11:20:01 CET 2006


Hello,
On Wed, Nov 15, 2006 at 11:33:56PM +0100, Nico Sabbi wrote:
> Index: input/input.c
> ===================================================================
> --- input/input.c	(revisione 20933)
> +++ input/input.c	(copia locale)
> @@ -105,6 +105,7 @@
>    { MP_CMD_GET_META_TRACK, "get_meta_track", 0, { {-1,{0}} } },
>    { MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } },
>    { MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } },
> +  { MP_CMD_SWITCH_VIDEO, "switch_video", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } },

Since you implemented it as a property, why not just using the get_,
set_ and step_property commands instead of adding another one?

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list