diff options
author | Young-Ho Cha <ganadist@chollian.net> | 2006-05-29 13:21:00 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-29 13:21:00 +0000 |
commit | e3b4b0a97cb59c6e7c9dc4d5a96537d88cd9e3e8 (patch) | |
tree | ca8f0613f53199dded1100b605e95b6c41c3fed7 /gst/playback/gstplaybasebin.h | |
parent | 8e09be1bd97a22a40d871c6e848c47f65c86c389 (diff) |
gst/playback/gstplaybasebin.*: Add 'subtitle-encoding' property to playbin, so applications can force a subtitle enco...
Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian net>
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (gst_play_base_bin_dispose),
(set_encoding_element), (decodebin_element_added_cb),
(decodebin_element_removed_cb), (setup_subtitle), (setup_source),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
Add 'subtitle-encoding' property to playbin, so applications can
force a subtitle encoding for non-UTF8 subtitles (#342268).
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init),
(gst_sub_parse_set_property):
Rename recently-added 'encoding' property to 'subtitle-encoding'
(so it can be proxied by playbin/decodebin in a generic way
with less danger of false positives).
Diffstat (limited to 'gst/playback/gstplaybasebin.h')
-rw-r--r-- | gst/playback/gstplaybasebin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/playback/gstplaybasebin.h b/gst/playback/gstplaybasebin.h index 80e4007e8..3826c98f0 100644 --- a/gst/playback/gstplaybasebin.h +++ b/gst/playback/gstplaybasebin.h @@ -79,7 +79,9 @@ struct _GstPlayBaseBin { gboolean is_stream; GstElement *source; GstElement *decoder; - GstElement *subtitle; /* additional filesrc ! subparse bin */ + GstElement *subtitle; /* additional filesrc ! subparse bin */ + GSList *subtitle_elements; /* subtitle elements that have 'subtitle-encoding' property */ + gchar *subencoding; /* encoding to propagate to the above subtitle elements */ gboolean need_rebuild; /* group management - using own lock */ |