mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
small fix for gstreamer 1.0 playback
This commit is contained in:
@@ -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());
|
||||||
|
Reference in New Issue
Block a user