diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-01-16 18:28:00 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-01-16 18:28:00 +0000 |
commit | 631b6a1766f76ed7075e03d5a94683f6a9c10fc2 (patch) | |
tree | 788cad0ccd9d64e2561edb480dc670d92c5f0699 /gst/h264parse/gsth264parse.h | |
parent | ae0feba9ec333fc281df4b3ab2ae1119da35f8b6 (diff) | |
download | gst-plugins-bad-631b6a1766f76ed7075e03d5a94683f6a9c10fc2.tar.gz gst-plugins-bad-631b6a1766f76ed7075e03d5a94683f6a9c10fc2.tar.bz2 gst-plugins-bad-631b6a1766f76ed7075e03d5a94683f6a9c10fc2.zip |
gst/h264parse/gsth264parse.*: Add reverse playback support for containers that don't know how to properly send data b...
Original commit message from CVS:
* gst/h264parse/gsth264parse.c: (gst_nal_list_new),
(gst_nal_list_prepend_link), (gst_nal_list_delete_head),
(gst_nal_bs_init), (gst_nal_bs_read), (gst_nal_bs_eos),
(gst_nal_bs_read_ue), (gst_h264_parse_class_init),
(gst_h264_parse_init), (gst_h264_parse_set_property),
(gst_h264_parse_get_property), (gst_h264_parse_sink_setcaps),
(gst_h264_parse_clear_queues), (gst_h264_parse_chain_forward),
(gst_h264_parse_flush_decode), (gst_h264_parse_queue_buffer),
(gst_h264_parse_find_start_reverse),
(gst_h264_parse_chain_reverse), (gst_h264_parse_chain),
(gst_h264_parse_sink_event), (gst_h264_parse_change_state):
* gst/h264parse/gsth264parse.h:
Add reverse playback support for containers that don't know how to
properly send data between I-frames.
Diffstat (limited to 'gst/h264parse/gsth264parse.h')
-rw-r--r-- | gst/h264parse/gsth264parse.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/gst/h264parse/gsth264parse.h b/gst/h264parse/gsth264parse.h index 8f283be9..8aed514c 100644 --- a/gst/h264parse/gsth264parse.h +++ b/gst/h264parse/gsth264parse.h @@ -42,12 +42,27 @@ G_BEGIN_DECLS typedef struct _GstH264Parse GstH264Parse; typedef struct _GstH264ParseClass GstH264ParseClass; +typedef struct _GstNalList GstNalList; + struct _GstH264Parse { GstElement element; - GstPad *sink; - GstPad *src; + GstPad *sinkpad; + GstPad *srcpad; + + gboolean split_packetized; + + GstSegment segment; + gboolean packetized; + gboolean discont; + + /* gather/decode queues for reverse playback */ + GList *gather; + GstNalList *decode; + gboolean have_sps; + gboolean have_pps; + gboolean have_i_frame; GstAdapter *adapter; }; |