summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2004-02-01add check for new functionThomas Vander Stichele2-0/+23
Original commit message from CVS: add check for new function
2004-01-31ext/alsa/gstalsa.c: really start/stop clock only on PLAYING <=> PAUSEDBenjamin Otte1-0/+12
Original commit message from CVS: 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start), (gst_alsa_drain_audio), (gst_alsa_stop_audio): really start/stop clock only on PLAYING <=> PAUSED * ext/alsa/gstalsasink.c: (gst_alsa_sink_loop): remove \n from debugging lines * ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain): make it work when seeking does not * ext/vorbis/vorbisdec.c: (vorbis_dec_event): reset on DISCONT
2004-01-31ext/alsa/gstalsa.c: start clock on PAUSED=>PLAYING, not laterBenjamin Otte1-0/+15
Original commit message from CVS: 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start): start clock on PAUSED=>PLAYING, not later * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event): extract correct time for different discont formats (gst_alsa_sink_get_time): don't segfault when no format is negotiated yet, just return 0 * ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event), (gst_ogg_demux_handle_event), (gst_ogg_demux_push), (gst_ogg_pad_push): handle flush and discont events correctly * ext/vorbis/vorbisdec.c: (vorbis_dec_event), (vorbis_dec_chain): handle discont events correctly
2004-01-31add error handlingThomas Vander Stichele4-94/+150
Original commit message from CVS: add error handling
2004-01-31ext/theora/theoradec.c: make comments workBenjamin Otte1-0/+13
Original commit message from CVS: 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/theora/theoradec.c: (theora_dec_chain): make comments work * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query), (vorbis_dec_src_event), (vorbis_dec_chain): add encoder tag, fix tag reading to be more error tolerant, change BITRATE to NOMINAL_BITRATE, add debugging, don't unref events after gst_pad_event_default. * gst/tags/gstvorbistag.c: (gst_tag_list_from_vorbiscomment_buffer): undefine function specific define at end of function
2004-01-31ext/flac/: Fix typosJeremy Simon1-0/+8
Original commit message from CVS: 2004-01-31 Jeremy Simon <jesimon@libertysurf.fr> * ext/flac/gstflacdec.c: (gst_flacdec_class_init): * ext/flac/gstflacdec.h: * ext/flac/gstflacenc.h: Fix typos
2004-01-31examples/gstplay/player.c: s/gstplay.h/play.h/David I. Lehn2-1/+5
Original commit message from CVS: * examples/gstplay/player.c: s/gstplay.h/play.h/
2004-01-30done operatingThomas Vander Stichele5-1227/+11
Original commit message from CVS: done operating
2004-01-30removing deprecated codeThomas Vander Stichele4-2680/+11
Original commit message from CVS: removing deprecated code
2004-01-30add debug info flush after seek (julien)Thomas Vander Stichele1-0/+7
Original commit message from CVS: add debug info flush after seek (julien)
2004-01-30add bit of infoBenjamin Otte1-1/+2
Original commit message from CVS: add bit of info
2004-01-30configure.ac: use AC_C_INLINEBenjamin Otte4-1/+32
Original commit message from CVS: 2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de> * configure.ac: use AC_C_INLINE * configure.ac: * ext/Makefile.am: * ext/theora/Makefile.am: * ext/theora/theoradec.c: add theora video decoder. Does just do simple decoding for now and has been tested against Theora cvs only. * ext/vorbis/vorbisdec.c: (vorbis_dec_event): always reset packetno on DISCONT
2004-01-30gst/mpegstream/gstmpegdemux.c: Fix audio.Ronald S. Bultje1-0/+5
Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead): Fix audio.
2004-01-30gst/mpegaudioparse/gstmpegaudioparse.c: Fix header parsing - stolen from ↵Ronald S. Bultje2-49/+37
ffmpeg (thank you! :) ). Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_type_frame_length_from_header): Fix header parsing - stolen from ffmpeg (thank you! :) ).
2004-01-30ext/esd/esdsink.c: Since we have static pad template caps, we don't need to ↵Ronald S. Bultje1-0/+6
negotiate; either the core errors out or ... Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/esd/esdsink.c: (gst_esdsink_init): Since we have static pad template caps, we don't need to negotiate; either the core errors out or we know the format.
2004-01-30gst/: Fix event handling.Ronald S. Bultje2-14/+26
Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head), (gst_riff_read_seek): * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_seek): Fix event handling.
2004-01-30ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it ↵Benjamin Otte1-0/+14
doesn't handle raw theora streams Original commit message from CVS: 2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps): removee video/x-theora from vp3 decoder, it doesn't handle raw theora streams * ext/ogg/gstoggdemux.c: (gst_ogg_demux_init): fix bug with finalizing element that never went to PAUSED * ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query): length and position queries were swapped * ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init), (vorbis_dec_from_granulepos), (vorbis_dec_src_query), (vorbis_dec_src_event): implement querying time and bytes
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele34-118/+123
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-29ext/gnomevfs/gstgnomevfssrc.c: Fixing seeking emiting FLUSH and even before ↵Julien Moutte3-14/+27
DISCONT. Original commit message from CVS: 2004-01-29 Julien MOUTTE <julien@moutte.net> * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get): Fixing seeking emiting FLUSH and even before DISCONT. * gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): Fix seeking to get the best instant seeking as possible yay!
2004-01-29gst/mpeg1videoparse/gstmp1videoparse.c: Committed wrong version last week... ↵Ronald S. Bultje2-126/+138
Grr... Didn't notice until now. Original commit message from CVS: 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_real_chain): Committed wrong version last week... Grr... Didn't notice until now.
2004-01-29sys/: Emit the have_xwindow_id signal in xwindow_create.Julien Moutte1-0/+6
Original commit message from CVS: 2004-01-29 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new): Emit the have_xwindow_id signal in xwindow_create.
2004-01-29ext/ogg/gstoggdemux.c: lots of changes - mainly support for chained ↵Benjamin Otte1-0/+21
bitstreams, seeking, querying and bugfixes of course Original commit message from CVS: 2004-01-29 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/ogg/gstoggdemux.c: lots of changes - mainly support for chained bitstreams, seeking, querying and bugfixes of course * ext/vorbis/Makefile.am: * ext/vorbis/vorbisdec.c: * ext/vorbis/vorbisdec.h: add vorbisdec raw vorbis decoder * ext/vorbis/vorbis.c: (plugin_init): register vorbisdec as PRIMARY, vorbisfile as SECONDARY * gst/intfloat/Makefile.am: * gst/intfloat/float22int.c: * gst/intfloat/float22int.h: * gst/intfloat/gstintfloatconvert.c: (plugin_init): add float2intnew plugin. It converts multichannel interleaved float to multichannel interleaved int. The name should probably be changed. * gst/typefind/gsttypefindfunctions.c: (theora_type_find), (plugin_init): add typefinding for raw theora video so oggdemux can detect it.
2004-01-28gst-libs/gst/play/gstplay.c: seek on video sink element first.Julien Moutte4-4/+11
Original commit message from CVS: 2004-01-28 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): seek on video sink element first. * gst/videoscale/gstvideoscale.c: (gst_videoscale_handle_src_event): Fixing src event handler.
2004-01-28sys/v4l/: Implement resizing... Hack. But that's why v4l is b0rked...Ronald S. Bultje1-0/+11
Original commit message from CVS: 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net> * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_open), (gst_v4lsrc_close), (gst_v4lsrc_palette_to_caps), (gst_v4lsrc_srcconnect), (gst_v4lsrc_getcaps), (gst_v4lsrc_set_clock): * sys/v4l/gstv4lsrc.h: * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_start), (gst_v4lsrc_grab_frame), (gst_v4lsrc_capture_stop): Implement resizing... Hack. But that's why v4l is b0rked...
2004-01-28sys/: Removing some useless debugs messages, correctly cleaning the image ↵Julien Moutte1-0/+15
created to check xshm calls on succes, adde... Original commit message from CVS: 2004-01-28 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy), (gst_ximagesink_ximage_put), (gst_ximagesink_xwindow_new), (gst_ximagesink_xwindow_destroy): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy), (gst_xvimagesink_xwindow_new), (gst_xvimagesink_xwindow_destroy), (gst_xvimagesink_xwindow_resize), (gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get): Removing some useless debugs messages, correctly cleaning the image created to check xshm calls on succes, added a lot of XSync calls in X11 functions, and fixed a segfault when no image format was defined before negotiation happened.
2004-01-28ext/alsa/gstalsa.c: use gst_element_get_time to get correct timeBenjamin Otte1-0/+5
Original commit message from CVS: 2004-01-28 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_query_func): use gst_element_get_time to get correct time
2004-01-28sys/: OurJulien Moutte1-0/+15
Original commit message from CVS: 2004-01-28 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xerror), (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_destroy), (gst_ximagesink_xcontext_get), (gst_ximagesink_class_init): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xerror), (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_destroy), (gst_xvimagesink_xcontext_get): Our X plugins are now able to detect that XShm calls will fail even if the server claims that it has XShm support (remote displays most of the time). We then log the error as a GST_DEBUG and set use_shm to FALSE so that we use non XShm functions. This feature is almost useless for xvimagesink as Xv is not supported on remote displays anyway, but it might happen than even on the local display XShm calls fail.
2004-01-27ext/esd/esdsink.c: Fix sync issues in esdsink. Also changed esdsink to only ↵David Schleef1-0/+8
use 44100,16,2, since esd sucks at rate ... Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_init), (gst_esdsink_link), (gst_esdsink_get_time), (gst_esdsink_chain), (gst_esdsink_change_state): Fix sync issues in esdsink. Also changed esdsink to only use 44100,16,2, since esd sucks at rate conversion and esdsink has had difficulty negotiating.
2004-01-27gst-libs/gst/play/gstplay.c: Fixing the way to get current position.Julien Moutte3-22/+51
Original commit message from CVS: 2004-01-27 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_tick_callback), (gst_play_seek_to_time): Fixing the way to get current position.
2004-01-27sys/oss/gstosssink.c: use gst_element_get_time to get correct timeBenjamin Otte1-0/+5
Original commit message from CVS: 2004-01-27 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/oss/gstosssink.c: (gst_osssink_sink_query): use gst_element_get_time to get correct time
2004-01-27gst-libs/gst/play/gstplay.c: The easiest fix ever... Inverting 2 lines of ↵Julien Moutte3-2/+8
code make spider autoplug correctly tagged ... Original commit message from CVS: 2004-01-27 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_set_location): The easiest fix ever... Inverting 2 lines of code make spider autoplug correctly tagged mp3 !
2004-01-27gst/audioconvert/gstaudioconvert.c: Use gst_pad_try_set_caps_nonfixed().David Schleef1-1/+6
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link): Use gst_pad_try_set_caps_nonfixed().
2004-01-27gst/ac3parse/gstac3parse.c: update to checklist 5David Schleef1-0/+9
Original commit message from CVS: * gst/ac3parse/gstac3parse.c: update to checklist 5 * gst/adder/gstadder.c: rewrite negotiation. update to checklist 5 * gst/audioconvert/gstaudioconvert.c: update to checklist 5 * gst/audioscale/gstaudioscale.c: same * gst/auparse/gstauparse.c: same * gst/avi/gstavidemux.c: same
2004-01-27gst/asfdemux/gstasfdemux.c: stop processing after EOSBenjamin Otte1-0/+5
Original commit message from CVS: 2004-01-27 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event): stop processing after EOS
2004-01-27gst/asfdemux/: lot's of fixes to make data extraction simpler and get the ↵Benjamin Otte1-0/+12
code architecture and compiler independant.... Original commit message from CVS: 2004-01-27 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/asfdemux/asfheaders.h: * gst/asfdemux/gstasfdemux.c: * gst/asfdemux/gstasfmux.c: (gst_asfmux_put_guid), (gst_asfmux_put_string), (gst_asfmux_put_wav_header), (gst_asfmux_put_vid_header), (gst_asfmux_put_bmp_header): lot's of fixes to make data extraction simpler and get the code architecture and compiler independant. Add debugging category * gst/goom/gstgoom.c: (gst_goom_change_state): reset channel count on PAUSED=>READY, not READY=>PAUSED
2004-01-26ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_get): Remove ugly code to ↵Colin Walters1-0/+6
pull a bigger buffer in iradio mode. This a... Original commit message from CVS: 2004-01-26 Colin Walters <walters@verbum.org> * ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_get): Remove ugly code to pull a bigger buffer in iradio mode. This as a side effect makes typefinding work.
2004-01-26ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPCJeremy Simon1-0/+5
Original commit message from CVS: 2004-01-26 Jeremy Simon <jesimon@libertysurf.fr> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata): Fix SVQ3 decoding on PPC
2004-01-26gst/videoscale/gstvideoscale.c: Dunno how that one managed to stay there... ↵Julien Moutte1-0/+5
Fixed. Original commit message from CVS: 2004-01-26 Julien MOUTTE <julien@moutte.net> * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Dunno how that one managed to stay there... Fixed.
2004-01-26Add SVQ3 specific flags to qtdemux and ffmpegJeremy Simon3-3/+65
Original commit message from CVS: 2004-01-26 Jeremy Simon <jesimon@libertysurf.fr> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps), (gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt): * gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak), (qtdemux_video_caps): * gst/qtdemux/qtdemux.h: Add SVQ3 specific flags to qtdemux and ffmpeg
2004-01-26gst-libs/gst/audio/audio.h: remove buffer-frames from audio capsBenjamin Otte2-4/+9
Original commit message from CVS: 2004-01-26 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst-libs/gst/audio/audio.h: remove buffer-frames from audio caps * gst/audioconvert/gstaudioconvert.c: fix plugin to really work.
2004-01-25gst-libs/gst/: Add gtk-doc style comments. Also fix a function name.Ronald S. Bultje5-3/+257
Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/mixer/mixer.c: * gst-libs/gst/propertyprobe/propertyprobe.c: * gst-libs/gst/tuner/tuner.c: (gst_tuner_find_norm_by_name), (gst_tuner_find_channel_by_name): * gst-libs/gst/tuner/tuner.h: Add gtk-doc style comments. Also fix a function name.
2004-01-25add cvsignore fileBenjamin Otte1-0/+1
Original commit message from CVS: add cvsignore file
2004-01-25ext/divx/gstdivxdec.c: Fix for new capsnego - also fixes gst-player with ↵Ronald S. Bultje2-7/+10
divxdec. Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/divx/gstdivxdec.c: (gst_divxdec_init), (gst_divxdec_negotiate): Fix for new capsnego - also fixes gst-player with divxdec.
2004-01-25gst-libs/gst/play/gstplay.c: Another try in visualization implementation. ↵Julien Moutte4-280/+365
Still have an issue with switch blocking wh... Original commit message from CVS: 2004-01-25 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup), (gst_play_identity_handoff), (gst_play_set_location), (gst_play_set_visualization), (gst_play_connect_visualization): Another try in visualization implementation. Still have an issue with switch blocking when pulling from video_queue and only audio comes out of spider. * gst/switch/gstswitch.c: (gst_switch_release_pad), (gst_switch_poll_sinkpads), (gst_switch_class_init): Implementing pad release method. And check if the pad is usable before pulling.
2004-01-25gst/videofilter/gstvideobalance.*: Implement lookup-tables. +/- 10x faster.Ronald S. Bultje1-0/+13
Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose), (gst_videobalance_init), (gst_videobalance_colorbalance_list_channels), (gst_videobalance_colorbalance_set_value), (gst_videobalance_colorbalance_get_value), (gst_videobalance_update_properties), (gst_videobalance_update_tables_planar411), (gst_videobalance_planar411): * gst/videofilter/gstvideobalance.h: Implement lookup-tables. +/- 10x faster.
2004-01-25gst/avi/gstavidemux.c: The index reading was broken. The rest worked fine, ↵Ronald S. Bultje1-0/+8
but the whole goal of my rewrite was to ma... Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml), (gst_avi_demux_stream_index): The index reading was broken. The rest worked fine, but the whole goal of my rewrite was to make avidemux readable, and this was not at all readable. Please use typed variables.
2004-01-25gst-libs/gst/riff/riff-read.c: Additional pad usability check.Ronald S. Bultje4-27/+123
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.
2004-01-24Fix typoJeremy Simon1-2/+2
Original commit message from CVS: Fix typo
2004-01-23gst/avi/gstavidemux.c: don't write to buffer. Extract data without the need ↵Benjamin Otte1-0/+7
of __attribute__ ((packed)) Original commit message from CVS: 2004-01-23 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml), (gst_avi_demux_stream_index): don't write to buffer. Extract data without the need of __attribute__ ((packed))
2004-01-23gst/typefind/gsttypefindfunctions.c: Fix MPEG-1 stream typefinding.Ronald S. Bultje1-0/+6
Original commit message from CVS: 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/typefind/gsttypefindfunctions.c: (mpeg1_parse_header), (mpeg1_sys_type_find): Fix MPEG-1 stream typefinding.