mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 22:46:35 +00:00
warn on possibly broken discid, so app devs know about this
Original commit message from CVS: warn on possibly broken discid, so app devs know about this
This commit is contained in:
parent
757db2e087
commit
a9464c5893
1 changed files with 8 additions and 0 deletions
|
@ -418,6 +418,14 @@ cdparanoia_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
|
||||||
g_value_set_enum (value, src->paranoia_mode);
|
g_value_set_enum (value, src->paranoia_mode);
|
||||||
break;
|
break;
|
||||||
case ARG_DISCID:
|
case ARG_DISCID:
|
||||||
|
/**
|
||||||
|
* Due to possible autocorrections of start sectors of audio tracks on
|
||||||
|
* multisession cds, we can maybe not compute the correct discid.
|
||||||
|
* So issue a warning.
|
||||||
|
* See cdparanoia/interface/common-interface.c:FixupTOC
|
||||||
|
*/
|
||||||
|
if (src->d->cd_extra)
|
||||||
|
g_warning("DiscID on multisession discs might be broken. Use at own risk.");
|
||||||
g_value_set_string (value, src->discid);
|
g_value_set_string (value, src->discid);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue