From: Ronald S. Bultje Date: Tue, 17 Jun 2003 11:42:38 +0000 (+0000) Subject: Request pads don't have a number limit X-Git-Tag: 1.19.3~499^2~2110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f191f3dd038af5045996fee9c984e95ae6c44a8d;p=platform%2Fupstream%2Fgstreamer.git Request pads don't have a number limit Original commit message from CVS: Request pads don't have a number limit --- diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c index 9fc3232..fb85964 100644 --- a/ext/ffmpeg/gstffmpegmux.c +++ b/ext/ffmpeg/gstffmpegmux.c @@ -259,7 +259,7 @@ gst_ffmpegmux_connect (GstPad *pad, * our famous codec mapper */ for ( ; caps != NULL; caps = caps->next) { if (gst_ffmpeg_caps_to_codecid (caps, - &st->codec.codec_id) == CODEC_ID_NONE) { + &st->codec) != CODEC_ID_NONE) { ffmpegmux->eos[i] = FALSE; return GST_PAD_LINK_OK; } @@ -500,13 +500,13 @@ gst_ffmpegmux_register (GstPlugin *plugin) srccaps, NULL); gst_element_factory_add_pad_template (factory, params->srctempl); - params->audiosinktempl = gst_pad_template_new ("audio_%02d", + params->audiosinktempl = gst_pad_template_new ("audio_%d", GST_PAD_SINK, GST_PAD_REQUEST, audiosinkcaps, NULL); gst_element_factory_add_pad_template (factory, params->audiosinktempl); - params->videosinktempl = gst_pad_template_new ("video_%02d", + params->videosinktempl = gst_pad_template_new ("video_%d", GST_PAD_SINK, GST_PAD_REQUEST, videosinkcaps, NULL);