diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-06-21 16:55:05 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-21 16:55:05 +0200 |
commit | 59bdcd9ae373f0ef36f4b7c37668ded4ca0a73ab (patch) | |
tree | 436f6254be352997e33e5abe39bf3ae7f7990b31 | |
parent | f9ff8cd7c8e469da802eb0a031b85442faf63d4e (diff) | |
download | gstreamer-plugins-bad-59bdcd9ae373f0ef36f4b7c37668ded4ca0a73ab.tar.gz |
tsdemux: Update comments to the new reality and remove unused variables
-rw-r--r-- | gst/mpegtsdemux/tsdemux.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index aa717b437..0cd6d47e2 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -115,7 +115,7 @@ typedef struct _TSDemuxStream TSDemuxStream; typedef struct _TSDemuxH264ParsingInfos TSDemuxH264ParsingInfos; -/* Return offset of a keyframe if found, otherwise either KEYFRAME_SCAN_NOT_FOUND or KEYFRAME_SCAN_NEED_MORE_DATA */ +/* Return offset of a keyframe if found */ typedef gboolean (*GstTsDemuxKeyFrameScanFunction) (TSDemuxStream * stream, guint8 * data, const gsize data_size, const gsize max_frame_offset); @@ -569,12 +569,6 @@ gst_ts_demux_srcpad_query (GstPad * pad, GstObject * parent, GstQuery * query) } -/* no keyframe found in the data */ -static const gint64 KEYFRAME_SCAN_NOT_FOUND = -1; - -/* the function needs more data to finish scanning a frame that begins before max_frame_offset */ -static const gint64 KEYFRAME_SCAN_NEED_MORE_DATA = -2; - static void clear_simple_buffer (SimpleBuffer * sbuf) { |