Commit 9550556f authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Use ERR instead of FIXME for GStreamer errors.

parent 7bf59055
...@@ -1079,8 +1079,8 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data) ...@@ -1079,8 +1079,8 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data)
if (GST_MESSAGE_TYPE(msg) & GST_MESSAGE_ERROR) { if (GST_MESSAGE_TYPE(msg) & GST_MESSAGE_ERROR) {
gst_message_parse_error(msg, &err, &dbg_info); gst_message_parse_error(msg, &err, &dbg_info);
FIXME("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message); ERR("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message);
WARN("%s\n", dbg_info); ERR("%s\n", dbg_info);
} else if (GST_MESSAGE_TYPE(msg) & GST_MESSAGE_WARNING) { } else if (GST_MESSAGE_TYPE(msg) & GST_MESSAGE_WARNING) {
gst_message_parse_warning(msg, &err, &dbg_info); gst_message_parse_warning(msg, &err, &dbg_info);
WARN("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message); WARN("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message);
...@@ -1095,7 +1095,7 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data) ...@@ -1095,7 +1095,7 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data)
static void unknown_type(GstElement *bin, GstPad *pad, GstCaps *caps, gpointer user) static void unknown_type(GstElement *bin, GstPad *pad, GstCaps *caps, gpointer user)
{ {
gchar *strcaps = gst_caps_to_string(caps); gchar *strcaps = gst_caps_to_string(caps);
FIXME("Could not find a filter for caps: %s\n", strcaps); ERR("Could not find a filter for caps: %s\n", strcaps);
g_free(strcaps); g_free(strcaps);
} }
...@@ -1126,7 +1126,7 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin *pConnectPin, ALLOCATOR_PROPERTI ...@@ -1126,7 +1126,7 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin *pConnectPin, ALLOCATOR_PROPERTI
gstfilter = gst_element_factory_make("decodebin", NULL); gstfilter = gst_element_factory_make("decodebin", NULL);
if (!gstfilter) { if (!gstfilter) {
FIXME("Could not make source filter, are gstreamer-plugins-* installed for %u bits?\n", ERR("Could not make source filter, are gstreamer-plugins-* installed for %u bits?\n",
8 * (int)sizeof(void*)); 8 * (int)sizeof(void*));
return E_FAIL; return E_FAIL;
} }
......
...@@ -111,7 +111,7 @@ static const char *Gstreamer_FindMatch(const char *strcaps) ...@@ -111,7 +111,7 @@ static const char *Gstreamer_FindMatch(const char *strcaps)
g_list_free(copy); g_list_free(copy);
if (!bestfactory) { if (!bestfactory) {
FIXME("Could not find plugin for %s\n", strcaps); ERR("Could not find plugin for %s\n", strcaps);
return NULL; return NULL;
} }
return gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(bestfactory)); return gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(bestfactory));
...@@ -312,7 +312,7 @@ static HRESULT Gstreamer_transform_ConnectInput(GstTfImpl *This, const AM_MEDIA_ ...@@ -312,7 +312,7 @@ static HRESULT Gstreamer_transform_ConnectInput(GstTfImpl *This, const AM_MEDIA_
This->filter = gst_element_factory_make(This->gstreamer_name, NULL); This->filter = gst_element_factory_make(This->gstreamer_name, NULL);
if (!This->filter) { if (!This->filter) {
FIXME("Could not make %s filter\n", This->gstreamer_name); ERR("Could not make %s filter\n", This->gstreamer_name);
return E_FAIL; return E_FAIL;
} }
This->my_src = gst_pad_new("yuvsrc", GST_PAD_SRC); This->my_src = gst_pad_new("yuvsrc", GST_PAD_SRC);
......
...@@ -276,7 +276,7 @@ DWORD Gstreamer_init(void) ...@@ -276,7 +276,7 @@ DWORD Gstreamer_init(void)
inited = gst_init_check(&argc, &argv, &err); inited = gst_init_check(&argc, &argv, &err);
HeapFree(GetProcessHeap(), 0, argv); HeapFree(GetProcessHeap(), 0, argv);
if (err) { if (err) {
FIXME("Failed to initialize gstreamer: %s\n", err->message); ERR("Failed to initialize gstreamer: %s\n", err->message);
g_error_free(err); g_error_free(err);
} }
if (inited) { if (inited) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment