Ignore warning messages
This commit is contained in:
parent
d39ed7cb02
commit
67f4d44aeb
@ -18,7 +18,6 @@ gboolean MessageHandling::bus_call(GstBus *bus, GstMessage *msg,
|
|||||||
StreamData *data = static_cast<StreamData *>(user_data);
|
StreamData *data = static_cast<StreamData *>(user_data);
|
||||||
GMainLoop *passed_loop = data->loop;
|
GMainLoop *passed_loop = data->loop;
|
||||||
// GMainLoop *loop= (GMainLoop *) data;
|
// GMainLoop *loop= (GMainLoop *) data;
|
||||||
g_print("Bus_call \n");
|
|
||||||
gchar *debug;
|
gchar *debug;
|
||||||
GError *error;
|
GError *error;
|
||||||
counter_total++;
|
counter_total++;
|
||||||
@ -77,21 +76,21 @@ gboolean MessageHandling::bus_call(GstBus *bus, GstMessage *msg,
|
|||||||
default:
|
default:
|
||||||
// g_print ("GST_MESSAGE_TYPE (msg) is %d ", GST_MESSAGE_TYPE
|
// g_print ("GST_MESSAGE_TYPE (msg) is %d ", GST_MESSAGE_TYPE
|
||||||
// (msg));
|
// (msg));
|
||||||
g_message("Received message of type: %s",
|
// g_message("Received message of type: %s",
|
||||||
gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
// gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
||||||
|
|
||||||
// g_print (gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
// g_print (gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
||||||
g_print("%s\n", gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
// g_print("%s\n", gst_message_type_get_name(GST_MESSAGE_TYPE(msg)));
|
||||||
|
|
||||||
// g_print (GST_MESSAGE_TYPE (msg));
|
// g_print (GST_MESSAGE_TYPE (msg));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
g_print(
|
// g_print(
|
||||||
"counter_eos is %d, counter_warning is %d, counter_error is %d, "
|
// "counter_eos is %d, counter_warning is %d, counter_error is %d, "
|
||||||
"counter_element is %d, counter_total is %d \n",
|
// "counter_element is %d, counter_total is %d \n",
|
||||||
counter_eos, counter_warning, counter_error, counter_element,
|
// counter_eos, counter_warning, counter_error, counter_element,
|
||||||
counter_total);
|
// counter_total);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,6 @@ void SourceBin::decodebin_child_added(GstChildProxy *child_proxy,
|
|||||||
GObject *object, gchar *name,
|
GObject *object, gchar *name,
|
||||||
gpointer user_data) {
|
gpointer user_data) {
|
||||||
(void)child_proxy; // This explicitly marks it as unused
|
(void)child_proxy; // This explicitly marks it as unused
|
||||||
std::cout << "decodebin_child_added" << std::endl;
|
|
||||||
|
|
||||||
StreamData *data = static_cast<StreamData *>(user_data);
|
StreamData *data = static_cast<StreamData *>(user_data);
|
||||||
gint source_id = data->source_id;
|
gint source_id = data->source_id;
|
||||||
@ -40,7 +39,6 @@ void SourceBin::cb_newpad(GstElement *decodebin, GstPad *pad,
|
|||||||
gpointer user_data, gboolean *flag) {
|
gpointer user_data, gboolean *flag) {
|
||||||
(void)decodebin; // This explicitly marks it as unused
|
(void)decodebin; // This explicitly marks it as unused
|
||||||
(void)flag; // This explicitly marks it as unused
|
(void)flag; // This explicitly marks it as unused
|
||||||
std::cout << "cb_newpad" << std::endl;
|
|
||||||
StreamData *data = static_cast<StreamData *>(user_data);
|
StreamData *data = static_cast<StreamData *>(user_data);
|
||||||
gint source_id = data->source_id;
|
gint source_id = data->source_id;
|
||||||
GstElement *streammux = data->streammux;
|
GstElement *streammux = data->streammux;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user