small fix for gstreamer 1.0 playback

Origin commit data
------------------
Branch: master
Commit: c6bc573607
Author: TangoCash <eric@loxat.de>
Date: 2017-05-31 (Wed, 31 May 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-05-31 22:43:56 +02:00
committed by max_10
parent 2176e6be49
commit 99dad2f856

View File

@@ -171,7 +171,7 @@ GstBusSyncReply Gst_bus_call(GstBus * bus, GstMessage *msg, gpointer user_data)
//FIXME: how shall playback handle this event??? //FIXME: how shall playback handle this event???
} }
gst_tag_list_free(tags); gst_tag_list_free(tags);
lt_info_c( "%s:%s - GST_MESSAGE_INFO: update info tags\n", FILENAME, __FUNCTION__); //FIXME: how shall playback handle this event??? lt_debug_c( "%s:%s - GST_MESSAGE_INFO: update info tags\n", FILENAME, __FUNCTION__); //FIXME: how shall playback handle this event???
break; break;
} }
@@ -247,7 +247,7 @@ GstBusSyncReply Gst_bus_call(GstBus * bus, GstMessage *msg, gpointer user_data)
#if 0 #if 0
case GST_MESSAGE_ELEMENT: case GST_MESSAGE_ELEMENT:
{ {
if(gst_structure_has_name(gst_message_get_structure(msg), "prepare-xwindow-id")) if(gst_structure_has_name(gst_message_get_structure(msg), "prepare-window-handle"))
{ {
// set window id // set window id
gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(GST_MESSAGE_SRC (msg)), glfb->getWindowID()); gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(GST_MESSAGE_SRC (msg)), glfb->getWindowID());