From e1d778e559a402f0b4ebe2b84978f3542807a630 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 21 May 2009 00:41:47 +0100 Subject: mpegdemux: Add support for outputting sub-picture streams found in files. Output subpicture streams when they are found on the private stream ID. Don't strip off the first byte of such packets when pushing. --- gst/mpegdemux/gstmpegdemux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/mpegdemux/gstmpegdemux.h') diff --git a/gst/mpegdemux/gstmpegdemux.h b/gst/mpegdemux/gstmpegdemux.h index ef175f76..29bc1dfd 100644 --- a/gst/mpegdemux/gstmpegdemux.h +++ b/gst/mpegdemux/gstmpegdemux.h @@ -149,6 +149,7 @@ struct _GstFluPSDemuxClass GstPadTemplate *sink_template; GstPadTemplate *video_template; GstPadTemplate *audio_template; + GstPadTemplate *subpicture_template; GstPadTemplate *private_template; }; -- cgit v1.2.1 From f7eefea47cf770107672d07189843554b10b9c6f Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 21 May 2009 11:13:54 +0100 Subject: mpegdemux: Add sparse stream filling. First stab at sending new-segment events to effect sparse stream updates. --- gst/mpegdemux/gstmpegdemux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/mpegdemux/gstmpegdemux.h') diff --git a/gst/mpegdemux/gstmpegdemux.h b/gst/mpegdemux/gstmpegdemux.h index 29bc1dfd..29b3d5e5 100644 --- a/gst/mpegdemux/gstmpegdemux.h +++ b/gst/mpegdemux/gstmpegdemux.h @@ -86,6 +86,10 @@ struct _GstFluPSStream gint type; gint size_bound; + GstClockTime segment_thresh; + GstClockTime last_seg_start; + GstClockTime last_ts; + gboolean discont; gboolean notlinked; gboolean need_segment; -- cgit v1.2.1