summaryrefslogtreecommitdiffstats
path: root/gst/h264parse/gsth264parse.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-06-03 11:10:32 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-06-03 11:10:32 +0000
commit10d104fcaee69109357bdefabca69cffeb01638c (patch)
tree3a3b7a33758ce51c6f2c374cd87a79e505e764d2 /gst/h264parse/gsth264parse.h
parent53bad8dd1ec0bab6c8f9c089964bcd0c70256410 (diff)
downloadgst-plugins-bad-10d104fcaee69109357bdefabca69cffeb01638c.tar.gz
gst-plugins-bad-10d104fcaee69109357bdefabca69cffeb01638c.tar.bz2
gst-plugins-bad-10d104fcaee69109357bdefabca69cffeb01638c.zip
gst/h264parse/gsth264parse.*: Parse codec_data and use the nalu_size_length field to get the NALU length in packetize...
Original commit message from CVS: * gst/h264parse/gsth264parse.c: (gst_nal_bs_init), (gst_h264_parse_sink_setcaps), (gst_h264_parse_chain_forward), (gst_h264_parse_queue_buffer), (gst_h264_parse_chain_reverse), (gst_h264_parse_chain): * gst/h264parse/gsth264parse.h: Parse codec_data and use the nalu_size_length field to get the NALU length in packetized h264. When queueing a packetized buffer in reverse mode, don't unref the buffer twice. Avoid accessing the buffer TIMESTAMP field after we pushed it on the adaptor.
Diffstat (limited to 'gst/h264parse/gsth264parse.h')
-rw-r--r--gst/h264parse/gsth264parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/h264parse/gsth264parse.h b/gst/h264parse/gsth264parse.h
index 4dc74228..2bae3f8c 100644
--- a/gst/h264parse/gsth264parse.h
+++ b/gst/h264parse/gsth264parse.h
@@ -52,6 +52,7 @@ struct _GstH264Parse
GstPad *srcpad;
gboolean split_packetized;
+ guint nal_length_size;
GstSegment segment;
gboolean packetized;