playback/player: ios: Fix video rendering after GstPlayerVideoRenderer refactoring

This commit is contained in:
Sebastian Dröge 2015-08-18 13:17:57 +03:00
parent 2da236d871
commit 80e4c1abff

View file

@ -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);