ext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 13 Sep 2004 09:24:00 +0000 (09:24 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 13 Sep 2004 09:24:00 +0000 (09:24 +0000)
commitb709c6844b7dd5ef272afd5595d575e80ac5e344
tree166ee591afc22a42bad46aec91e93bdf49d51a1d
parent6579f69d30a5aa3240e799b96a6f511da1ad7c05
ext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to obtain a new value. This makes alsam...

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update mixer (to sync with other sessions) if we try to obtain
a new value. This makes alsamixer work accross applications.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
Only call sync functions if we're running, else alsalib asserts.
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
Sometimes fails to compile. Possibly a gcc bug.
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Add a reference to an application-provided object, because we lose
this same reference if we add it to the bin. If we don't do this,
we can only use this object once and thus crash if we go from
ready to playing, back to ready and back to playing again.
Also add an audioscale element because several cheap soundcards -
like mine - don't support all samplerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_xcontext_clear), (gst_ximagesink_change_state):
Fix wrong order or PAR calls. Makes automatically obtained PAR
from the X server atually being used.
ChangeLog
ext/alsa/gstalsamixer.c
ext/alsa/gstalsasink.c
ext/ogg/gstoggdemux.c
gst/playback/gstplaybin.c
sys/ximage/ximagesink.c