gst-libs/gst/riff/riff-read.c: Additional pad usability check.
gst-libs/gst/riff/riff-read.c: Additional pad usability check.

Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
Additional pad usability check.
* gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init),
(mp1videoparse_find_next_gop), (gst_mp1videoparse_time_code),
(gst_mp1videoparse_real_chain):
Fix MPEG video stream parsing. The original plugin had several
issues, including not timestamping streams where the source was
not timestamped (this happens with PTS values in mpeg system
streams, but MPEG video is also a valid stream on its own so
that needs timestamps too). We use the display time code for that
for now. Also, if one incoming buffer contains multiple valid
frames, we push them all on correctly now, including proper EOS
handling. Lastly, several potential segfaults were fixed, and we
properly sync on new sequence/gop headers to include them in next,
not previous frames (since they're header for the next frame, not
the previous). Also see #119206.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain),
(bpf_from_header):
Move caps setting so we only do it after finding several valid
MPEG-1 fraes sequentially, not right after the first one (which
might be coincidental).
* gst/typefind/gsttypefindfunctions.c: (mpeg1_sys_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(plugin_init):
Add unsynced MPEG video stream typefinding, and change some
probability values so we detect streams rightly. The idea is as
follows: I can have an unsynced system stream which contains
video. In the current code, I would randomly get a type for either
system or video stream type found, because the probabilities are
being calculated rather randomly. I now use fixed values, so we
always prefer system stream if that was found (and that is how it
should be). If no system stream was found, we can still identity
the stream as video-only.

dgerlach/gst-plugins-good,ariscop/gst-plugins-good,Distrotech/gst-plugins-good,jhodapp/gst-plugins-good,davibe/gst-plugins-good,rawoul/gst-plugins-good,kittee/gst-plugins-good,zaheerm/gst-plugins-good,sh0/gst-plugins-good,krieger-od/gst-plugins-good,ted-n/gst-plugins-good,GrokImageCompression/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-good,matsu/gst-plugins-good,ikonst/gst-plugins-good,rawoul/gst-plugins-good,jpakkane/gstreamer-plugins-good,davibe/gst-plugins-good-1.0,krad-radio/gstreamer-plugins-good-krad,krieger-od/gst-plugins-good,stfl/gst-plugins-good,jcaden/gst-plugins-good,mrchapp/gst-plugins-good,mrchapp/gst-plugins-good,rikaunite/gst-opera_gst-plugins-good,ahmedammar/platform_external_gst_plugins_good,dgerlach/gst-plugins-good,matsu/gst-plugins-good,cfoch/gst-plugins-good,GrokImageCompression/gst-plugins-good,lovebug356/gst-plugins-good,jpakkane/gstreamer-plugins-good,roopar/gst-plugins-good,knuesel/gst-plugins-good,jcaden/gst-plugins-good,ariscop/gst-plugins-good,ariscop/gst-plugins-good,hizukiayaka/gst-plugins-good,jcaden/gst-plugins-good,wkatsak/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,shelsonjava/gst-plugins-good,veo-labs/gst-plugins-good,BigBrother-International/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-good,reynaldo-samsung/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,shelsonjava/gst-plugins-good,PPCDroid/external-gst-plugins-good,cablelabs/gst-plugins-good,ted-n/gst-plugins-good,Kurento/gst-plugins-good,stfl/gst-plugins-good,cfoch/gst-plugins-good,sh0/gst-plugins-good,veo-labs/gst-plugins-good,chamois94/gst-plugins-good,GStreamer/gst-plugins-good,veo-labs/gst-plugins-good,alessandrod/gst-plugins-good,GrokImageCompression/gst-plugins-good,mrchapp/gst-plugins-good,ahmedammar/platform_external_gst_plugins_good,krieger-od/gst-plugins-good,BigBrother-International/gst-plugins-good,mrchapp/gst-plugins-good,zaheerm/gst-plugins-good,Lachann/gst-plugins-good,krad-radio/gstreamer-plugins-good-krad,knuesel/gst-plugins-good,rawoul/gst-plugins-good,collects/gst-plugins-good,an146/gst-plugins-good,cablelabs/gst-plugins-good,knuesel/gst-plugins-good,davibe/gst-plugins-good,an146/gst-plugins-good,ndufresne/gst-plugins-good,loshca/gst-plugins-good,reynaldo-samsung/gst-plugins-good,cfoch/gst-plugins-good,cfoch/gst-plugins-good,sebras/gst-plugins-good,Lachann/gst-plugins-good,hizukiayaka/gst-plugins-good,rikaunite/gst-opera_gst-plugins-good,surround-io/gst-plugins-good,jpakkane/gstreamer-plugins-good,vatavuserban/gst-plugins-good,collects/gst-plugins-good,alessandrod/gst-plugins-good,pexip/gst-plugins-good,pexip/gst-plugins-good,davibe/gst-plugins-good-1.0,froggatt/gst-plugins-good-m,davibe/gst-plugins-good-1.0,strukturag/gst-plugins-good,sebras/gst-plugins-good,GStreamer/gst-plugins-good,ndufresne/gst-plugins-good,davibe/gst-plugins-good-1.0,pexip/gst-plugins-good,Kurento/gst-plugins-good,StreamUtils/gst-plugins-good,kittee/gst-plugins-good,Distrotech/gst-plugins-good,matsu/gst-plugins-good,ylatuya/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-good,chamois94/gst-plugins-good,zaheerm/gst-plugins-good,ikonst/gst-plugins-good,ylatuya/gst-plugins-good,roopar/gst-plugins-good,rikaunite/gst-opera_gst-plugins-good,BigBrother-International/gst-plugins-good,BigBrother-International/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-good,mrchapp/gst-plugins-good,cablelabs/gst-plugins-good,loshca/gst-plugins-good,ikonst/gst-plugins-good,davibe/gst-plugins-good,ahmedammar/platform_external_gst_plugins_good,Distrotech/gst-plugins-good,reynaldo-samsung/gst-plugins-good,offlinehacker/gst-plugins-good,lovebug356/gst-plugins-good,roopar/gst-plugins-good,loshca/gst-plugins-good,collects/gst-plugins-good,vatavuserban/gst-plugins-good,offlinehacker/gst-plugins-good,Kurento/gst-plugins-good,PPCDroid/external-gst-plugins-good,Lachann/gst-plugins-good,alessandrod/gst-plugins-good,greg80303/gst-plugins-good,StreamUtils/gst-plugins-good,ted-n/gst-plugins-good,ndufresne/gst-plugins-good,jahrome/gst-plugins-good,froggatt/gst-plugins-good-m,veo-labs/gst-plugins-good,matsu/gst-plugins-good,an146/gst-plugins-good,loshca/gst-plugins-good,wkatsak/gst-plugins-good,sebras/gst-plugins-good,jcaden/gst-plugins-good,ahmedammar/platform_external_gst_plugins_good,knuesel/gst-plugins-good,Distrotech/gst-plugins-good,zaheerm/gst-plugins-good,ylatuya/gst-plugins-good,Kurento/gst-plugins-good,prajnashi/gst-plugins-good,an146/gst-plugins-good,lovebug356/gst-plugins-good,hizukiayaka/gst-plugins-good,luisbg/gst-plugins-good,ndufresne/gst-plugins-good,kittee/gst-plugins-good,kittee/gst-plugins-good,sebras/gst-plugins-good,vatavuserban/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good,greg80303/gst-plugins-good,StreamUtils/gst-plugins-good,Kurento/gst-plugins-good,strukturag/gst-plugins-good,StreamUtils/gst-plugins-good,wkatsak/gst-plugins-good,ikonst/gst-plugins-good,jhodapp/gst-plugins-good,shelsonjava/gst-plugins-good,krad-radio/gstreamer-plugins-good-krad,Lachann/gst-plugins-good,GStreamer/gst-plugins-good,prajnashi/gst-plugins-good,ariscop/gst-plugins-good,PPCDroid/external-gst-plugins-good,hizukiayaka/gst-plugins-good,krieger-od/gst-plugins-good,shelsonjava/gst-plugins-good,sh0/gst-plugins-good,luisbg/gst-plugins-good,surround-io/gst-plugins-good,surround-io/gst-plugins-good,chamois94/gst-plugins-good,stfl/gst-plugins-good,cablelabs/gst-plugins-good,GStreamer/gst-plugins-good,stfl/gst-plugins-good,dgerlach/gst-plugins-good,froggatt/gst-plugins-good-m,offlinehacker/gst-plugins-good,collects/gst-plugins-good,jhodapp/gst-plugins-good,alessandrod/gst-plugins-good,reynaldo-samsung/gst-plugins-good,wkatsak/gst-plugins-good,luisbg/gst-plugins-good,pexip/gst-plugins-good,pexip/gst-plugins-good,strukturag/gst-plugins-good,jahrome/gst-plugins-good,froggatt/gst-plugins-good-m,greg80303/gst-plugins-good,sh0/gst-plugins-good,rawoul/gst-plugins-good,rikaunite/gst-opera_gst-plugins-good,Distrotech/gst-plugins-good,ted-n/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,chamois94/gst-plugins-good,jahrome/gst-plugins-good,jahrome/gst-plugins-good,GrokImageCompression/gst-plugins-good,ylatuya/gst-plugins-good,krad-radio/gstreamer-plugins-good-krad,vatavuserban/gst-plugins-good,jhodapp/gst-plugins-good,surround-io/gst-plugins-good,freedesktop-unofficial-mirror/gstreamer__gst-plugins-good,strukturag/gst-plugins-good,prajnashi/gst-plugins-good,jpakkane/gstreamer-plugins-good,greg80303/gst-plugins-good,lovebug356/gst-plugins-good,offlinehacker/gst-plugins-good,luisbg/gst-plugins-good,ijsf/OpenWebRTC-gst-plugins-good