diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-12-18 13:30:15 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-12-18 13:30:15 +0000 |
commit | 87aed1a2565a8b9e2b4af6ef980596a0c4d6f1a6 (patch) | |
tree | f0e6a1c8bce7790c055680af45d98c4f2d21ddce /gst/avi/gstavisubtitle.h | |
parent | d0c62e910823d5c3bba2696f734769f8ac47b149 (diff) |
gst/avi/gstavisubtitle.*: Refactor a bit; fix name extraction; don't assume all the data in the chunk is actually sub...
Original commit message from CVS:
* gst/avi/gstavisubtitle.c: (src_template),
(gst_avi_subtitle_extract_utf8_file),
(gst_avi_subtitle_parse_gab2_chunk), (gst_avi_subtitle_chain),
(gst_avi_subtitle_base_init), (gst_avi_subtitle_class_init),
(gst_avi_subtitle_init), (gst_avi_subtitle_change_state):
* gst/avi/gstavisubtitle.h:
Refactor a bit; fix name extraction; don't assume all the data
in the chunk is actually subtitle data, there may be padding at
the end; fix GST_ELEMENT_ERROR usage; store extracted subtitle
file so it's there to send again after a seek (for future use).
Diffstat (limited to 'gst/avi/gstavisubtitle.h')
-rw-r--r-- | gst/avi/gstavisubtitle.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/avi/gstavisubtitle.h b/gst/avi/gstavisubtitle.h index 866466a7..0cf07428 100644 --- a/gst/avi/gstavisubtitle.h +++ b/gst/avi/gstavisubtitle.h @@ -24,8 +24,10 @@ struct _GstAviSubtitle { GstElement parent; - GstPad* src; - GstPad* sink; + GstPad *src; + GstPad *sink; + + GstBuffer *subfile; /* the complete subtitle file in one buffer */ }; struct _GstAviSubtitleClass |