forked from enlightenment/efl
emotion gstreamer1: Don't use the NATIVE_AUDIO/VIDEO flags
There are too many video formats we don't handle, so we should let GStreamer handle the conversion if necessary.
This commit is contained in:
parent
01389b1d00
commit
5798e98571
|
@ -1671,7 +1671,7 @@ _create_pipeline (Emotion_Gstreamer *ev,
|
|||
g_object_set(G_OBJECT(vsink), "emotion-object", o, NULL);
|
||||
|
||||
g_object_get(G_OBJECT(playbin), "flags", &flags, NULL);
|
||||
g_object_set(G_OBJECT(playbin), "flags", flags | GST_PLAY_FLAG_NATIVE_VIDEO | GST_PLAY_FLAG_DOWNLOAD | GST_PLAY_FLAG_NATIVE_AUDIO, NULL);
|
||||
g_object_set(G_OBJECT(playbin), "flags", flags | GST_PLAY_FLAG_DOWNLOAD, NULL);
|
||||
g_object_set(G_OBJECT(playbin), "video-sink", vsink, NULL);
|
||||
g_object_set(G_OBJECT(playbin), "uri", uri, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue