minor edit: clarified the syntax (related to #1832)
This commit is contained in:
parent
bde0881eec
commit
3f016441ed
|
@ -515,9 +515,8 @@ GstreamerPlayer :: setAudioDevice(const std::string &deviceName)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!audiosink) {
|
if (!audiosink) {
|
||||||
audiosink = oss
|
audiosink = (oss ? gst_element_factory_make("osssink", "osssink")
|
||||||
? gst_element_factory_make("osssink", "osssink")
|
: gst_element_factory_make("alsasink", "alsasink"));
|
||||||
: gst_element_factory_make("alsasink", "alsasink");
|
|
||||||
relink = true;
|
relink = true;
|
||||||
}
|
}
|
||||||
if (!audiosink) {
|
if (!audiosink) {
|
||||||
|
|
Loading…
Reference in New Issue