[MPlayer-dev-eng] [PATCH] add noglobal counterpart for x264; document x264 global header option
Jeff Clagg
snacky at ikaruga.co.uk
Fri Sep 1 21:49:39 CEST 2006
On Fri, Sep 01, 2006 at 02:48:44PM -0500, Jeff Clagg wrote:
> Patch adds "noglobal" counterpart to the global flag for x264, and
> documents "global" in the man page.
This time I'm actually attaching the patch.
-------------- next part --------------
Index: libmpcodecs/ve_x264.c
===================================================================
--- libmpcodecs/ve_x264.c (revision 19626)
+++ libmpcodecs/ve_x264.c (working copy)
@@ -206,6 +206,7 @@
{"visualize", &visualize, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"novisualize", &visualize, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"global", &globalheader, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"noglobal", &globalheader, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
Index: DOCS/man/en/mplayer.1
===================================================================
--- DOCS/man/en/mplayer.1 (revision 19626)
+++ DOCS/man/en/mplayer.1 (working copy)
@@ -9483,6 +9483,13 @@
option will produce a warning and enables slices but not multithreading.
.
.TP
+.B (no)globalheader
+Causes SPS and PPS to appear only once, at the beginning of the bitstream
+(default: disabled).
+Some players, such as the Sony PSP, require the use of this option.
+The default behavior causes SPS and PPS to repeat prior to each IDR frame.
+.
+.TP
.B log=<-1\-3>
Adjust the amount of logging info printed to the screen.
.PD 0
More information about the MPlayer-dev-eng
mailing list