[MPlayer-dev-eng] [PATCH] matroska chapter seeking

Diego Biurrun diego at biurrun.de
Sat Jul 15 16:55:32 CEST 2006


On Sat, Jul 15, 2006 at 03:02:37AM +0400, Evgeniy Stepanov wrote:
> 
> this patch allows seeking for chapters in mkv files. Please review.
> 
> --- input/input.c	(revision 590)
> +++ input/input.c	(working copy)
> @@ -146,6 +146,8 @@
>    { MP_CMD_SET_PROPERTY, "set_property", 2, { {MP_CMD_ARG_STRING, {0}},  {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
>    { MP_CMD_GET_PROPERTY, "get_property", 1, { {MP_CMD_ARG_STRING, {0}},  {-1,{0}} } },
>    
> +  { MP_CMD_SEEK_CHAPTER, "seek_chapter", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },

If you add a slave command, please document it in DOCS/tech/slave.txt.

Diego



More information about the MPlayer-dev-eng mailing list