mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-03 18:31:28 +00:00
waylandsink/demo: Use playbin3 instead of playbin
Video looping currently does not work reliably with the later and playbin3 is generally considered the better choice. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8561>
This commit is contained in:
parent
0e9d6f7e42
commit
970bfc335e
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ main (int argc, char **argv)
|
|||
d->argv = argv;
|
||||
d->current_uri = 1;
|
||||
|
||||
d->pipeline = gst_parse_launch ("playbin video-sink=waylandsink", NULL);
|
||||
d->pipeline = gst_parse_launch ("playbin3 video-sink=waylandsink", NULL);
|
||||
g_object_set (d->pipeline, "uri", argv[d->current_uri], NULL);
|
||||
|
||||
/* enable looping */
|
||||
|
|
Loading…
Reference in a new issue