gst/playback/: Add mute property.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 14 Feb 2008 18:24:42 +0000 (18:24 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 14 Feb 2008 18:24:42 +0000 (18:24 +0000)
commit609daaede3ad7aeb412e8c078ace63b68f3718e6
tree28d6c4b74d3115bae3baa1a8d499d5800b2365ab
parent19ee588d64c434db90466a996eee589cf0fc6a74
gst/playback/: Add mute property.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(pad_added_cb), (pad_removed_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_set_mute),
(gst_play_sink_get_mute), (gen_audio_chain):
* gst/playback/gstplaysink.h:
Add mute property.
* gst/playback/gststreamselector.c: (gst_selector_pad_event),
(gst_selector_pad_chain):
* gst/playback/gststreamselector.h:
Make sure we forward the event only once.
* tests/examples/seek/seek.c: (stop_cb), (mute_toggle_cb), (main):
Add and implement the mute button for playbin2.
ChangeLog
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gstplaysink.h
gst/playback/gststreamselector.c
gst/playback/gststreamselector.h
tests/examples/seek/seek.c