ext/mad/gstid3tag.c: assume tag mode when pad is not connected
Original commit message from CVS: 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego): assume tag mode when pad is not connected
This commit is contained in:
parent
7ad667ff78
commit
4d89f431aa
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego):
|
||||||
|
assume tag mode when pad is not connected
|
||||||
|
|
||||||
2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
|
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
|
||||||
|
@ -763,7 +763,12 @@ gst_id3_tag_do_caps_nego (GstID3Tag *tag, GstBuffer *buffer)
|
|||||||
}
|
}
|
||||||
if (!tag->srcpad)
|
if (!tag->srcpad)
|
||||||
gst_id3_tag_add_src_pad (tag);
|
gst_id3_tag_add_src_pad (tag);
|
||||||
return gst_pad_renegotiate (tag->srcpad) != GST_PAD_LINK_REFUSED;
|
if (!gst_pad_is_linked (tag->srcpad)) {
|
||||||
|
tag->parse_mode = GST_ID3_TAG_PARSE_TAG;
|
||||||
|
return TRUE;
|
||||||
|
} else {
|
||||||
|
return gst_pad_renegotiate (tag->srcpad) == GST_PAD_LINK_REFUSED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user