GNOME Bugzilla – Bug 335585
xvidenc does not mark key-frame/delta-units
Last modified: 2006-05-03 21:57:18 UTC
xvidenc does not mark/flag an outgoing encoded buffer as being a delta-unit or not, so a subsequent muxing element cannot record key-frame info (in e.g. index)
Created attachment 61801 [details] [review] Patch for some xvidenc fixes Patch to mark outgoing encoded buffers as delta-units (or not). Note that this patch also patches: - the setting of fincr and fbase in xvid-encoder creation based on caps framerate - makes 0, rather than 2, the default max_b_frames, as the current xvidenc does not seem "fully prepared" to handle b-frame "effects", such as encoder returning 0 encoded bytes, etc
Patch by: Mark Nauwelaerts <manauw at skynet dot be> * ext/xvid/gstxvidenc.c: (gst_xvidenc_init), (gst_xvidenc_setup), (gst_xvidenc_chain): Patch to mark outgoing encoded buffers as delta-units (or not). Note that this patch also patches: - the setting of fincr and fbase in xvid-encoder creation based on caps framerate - makes 0, rather than 2, the default max_b_frames, as the current xvidenc does not seem "fully prepared" to handle b-frame "effects", such as encoder returning 0 encoded bytes, etc. Fixes #335585