mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
ext/dvdread/dvdreadsrc.c: Fix wrong check for started flag when setting the 'device' property.
Original commit message from CVS: Patch by: Jürg Billeter <j at bitron dot ch> * ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_set_property): Fix wrong check for started flag when setting the 'device' property. We want to allow it when the source is NOT started yet and ignore it when the source is running.
This commit is contained in:
parent
08c4bd4168
commit
fdfeed3459
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-03-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Jürg Billeter <j at bitron dot ch>
|
||||
|
||||
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_set_property):
|
||||
Fix wrong check for started flag when setting the 'device' property.
|
||||
We want to allow it when the source is NOT started yet and ignore it
|
||||
when the source is running.
|
||||
|
||||
2006-03-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>
|
||||
|
|
|
@ -718,7 +718,7 @@ gst_dvd_read_src_set_property (GObject * object, guint prop_id,
|
|||
|
||||
switch (prop_id) {
|
||||
case ARG_DEVICE:{
|
||||
if (!started) {
|
||||
if (started) {
|
||||
g_warning ("%s: property '%s' needs to be set before the device is "
|
||||
"opened", GST_ELEMENT_NAME (src), pspec->name);
|
||||
break;;
|
||||
|
|
Loading…
Reference in a new issue