mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 10:56:38 +00:00
playback/player: ios: Fix video rendering after GstPlayerVideoRenderer refactoring
This commit is contained in:
parent
2da236d871
commit
80e4c1abff
1 changed files with 1 additions and 2 deletions
|
@ -63,8 +63,7 @@
|
||||||
media_width = 320;
|
media_width = 320;
|
||||||
media_height = 240;
|
media_height = 240;
|
||||||
|
|
||||||
player = gst_player_new();
|
player = gst_player_new_full (gst_player_video_overlay_video_renderer_new (video_view), NULL);
|
||||||
g_object_set (player, "window-handle", video_view, NULL);
|
|
||||||
g_object_set (player, "uri", [uri UTF8String], NULL);
|
g_object_set (player, "uri", [uri UTF8String], NULL);
|
||||||
|
|
||||||
gst_debug_set_threshold_for_name("gst-player", GST_LEVEL_TRACE);
|
gst_debug_set_threshold_for_name("gst-player", GST_LEVEL_TRACE);
|
||||||
|
|
Loading…
Reference in a new issue