diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/musicbrainz/gsttrm.c | 1 | ||||
-rw-r--r-- | ext/nas/nassink.c | 10 |
2 files changed, 3 insertions, 8 deletions
diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c index 5f092b72..a4441f26 100644 --- a/ext/musicbrainz/gsttrm.c +++ b/ext/musicbrainz/gsttrm.c @@ -372,7 +372,6 @@ gst_trm_change_state (GstElement * element, GstStateChange transition) switch (transition) { case GST_STATE_CHANGE_PAUSED_TO_READY: - gst_trm_emit_signature (trm); trm_Delete (trm->trm); trm->trm = NULL; trm->data_available = FALSE; diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index a2ee0575..e2d91d18 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -171,12 +171,6 @@ gst_nas_sink_getcaps (GstBaseSink * bsink) server = nassink->audio; - if (server == NULL) { - /* FIXME: is it really a good idea to do a potentially long blocking call - * like this here? (tpm) */ - server = AuOpenServer (nassink->host, 0, NULL, 0, NULL, NULL); - } - templatecaps = gst_static_pad_template_get_caps (&sink_factory); if (server == NULL) @@ -333,8 +327,10 @@ gst_nas_sink_open (GstAudioSink * asink) /* Open Server */ sink->audio = AuOpenServer (sink->host, 0, NULL, 0, NULL, NULL); - if (sink->audio == NULL) + if (sink->audio == NULL) { + GST_DEBUG_OBJECT (sink, "opening failed"); return FALSE; + } sink->flow = AuNone; sink->need_data = 0; |