gst/playback/gstplaysink.*: Add methods to get audio/video/vis elements.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 24 Mar 2008 12:15:26 +0000 (12:15 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 24 Mar 2008 12:15:26 +0000 (12:15 +0000)
commitcd1fed33459e7d5321e88b056263848d3b9cef04
treea6ab2a97adf56584af3a2415d28aab890a2bfcdd
parent5a473e3e0759a654aa18221c028d2ddcb4be1154
gst/playback/gstplaysink.*: Add methods to get audio/video/vis elements.

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gst_play_sink_init), (gst_play_sink_dispose),
(gst_play_sink_set_video_sink), (gst_play_sink_get_video_sink),
(gst_play_sink_set_audio_sink), (gst_play_sink_get_audio_sink),
(gst_play_sink_vis_unblocked), (gst_play_sink_vis_blocked),
(gst_play_sink_set_vis_plugin), (gst_play_sink_get_vis_plugin),
(gst_play_sink_set_volume), (gst_play_sink_get_volume),
(gst_play_sink_set_mute), (gen_video_chain), (gen_text_chain),
(gen_audio_chain), (gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
(gst_play_sink_send_event_to_sink), (gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Add methods to get audio/video/vis elements.
Add methods to set the font description for the overlay.
Remove properties, we're using this element with its methods only.
Add support for subtitles.
Rearrange the locking a bit to not use the object lock for protecting
the pipeline construction.
Try to use the volume and mute property on the sink when its available.
Implement the mute option with volume when the sink does not have a mute
property.
Only add volume element when the sink has no volume property.
Only do visualisations with raw audio pads.
ChangeLog
gst/playback/gstplaysink.c
gst/playback/gstplaysink.h