1. 02 Nov, 2006 1 commit
    • Edward Hervey's avatar
      gst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding... · 82382e0b
      Edward Hervey authored
      gst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding functions if we don't find a valid mp3 ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
      Lower the probability of mp3 typefinding functions if we don't find a
      valid mp3 header at the start of the file.
      Closes #369482
      82382e0b
  2. 28 Oct, 2006 1 commit
  3. 19 Oct, 2006 1 commit
  4. 10 Oct, 2006 1 commit
    • Ferenc Gerlits's avatar
      gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files... · 667ba928
      Ferenc Gerlits authored
      gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files shorter than 256 bytes as well (fixes #35...
      
      Original commit message from CVS:
      Patch by: Ferenc Gerlits  <fgerlits at gmail com>
      * gst/typefind/gsttypefindfunctions.c:
      Recognise XML files and XML-like files shorter than 256 bytes as
      well (fixes #359237).
      667ba928
  5. 09 Oct, 2006 1 commit
  6. 06 Oct, 2006 2 commits
  7. 05 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Printf format fixes. · 9e107d67
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/alsa/gstalsadeviceprobe.c:
      (gst_alsa_device_property_probe_get_values):
      * ext/alsa/gstalsasink.c: (set_hwparams):
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
      (gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
      (gst_ogg_mux_process_best_pad):
      * ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
      (gst_ogg_parse_chain):
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
      * ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
      (gst_vorbis_enc_buffer_check_discontinuous):
      * ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      * gst-libs/gst/cdda/gstcddabasesrc.c:
      (gst_cdda_base_src_handle_track_seek):
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_push_full):
      * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
      * gst/audioresample/resample.c: (resample_input_pushthrough):
      * gst/playback/gstplaybasebin.c: (queue_out_of_data):
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
      (wavpack_type_find):
      * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
      * tests/check/elements/volume.c: (GST_START_TEST):
      Printf format fixes.
      9e107d67
  8. 17 Sep, 2006 1 commit
  9. 09 Aug, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: The checks here are not even close to... · 7b292da6
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: The checks here are not even close to anything that would justify MAXIMUM probab...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
      The checks here are not even close to anything that would
      justify MAXIMUM probability, lowering to POSSIBLE until someone
      fixes the checks (case at hand: quicktime redirection files
      might start with 00 00 01 XX and pass the checks here just
      fine, see #350399).
      7b292da6
  10. 08 Aug, 2006 1 commit
    • Sjoerd Simons's avatar
      gst/typefind/gsttypefindfunctions.c: Better detection for... · 99a8910d
      Sjoerd Simons authored
      gst/typefind/gsttypefindfunctions.c: Better detection for multipart/x-mixed-replace: accept leading whitespaces befor...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons  <sjoerd at luon net>
      * gst/typefind/gsttypefindfunctions.c: (multipart_type_find):
      Better detection for multipart/x-mixed-replace: accept leading
      whitespaces before the boundary marker as well (as our very own
      multipartmux used to produce) (#349068).
      99a8910d
  11. 03 Aug, 2006 2 commits
  12. 28 Jul, 2006 1 commit
  13. 22 Jul, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Limit search for the first markup tag to... · 0b271a07
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Limit search for the first markup tag to the first few kB of the file. If we don...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (xml_check_first_element):
      Limit search for the first markup tag to the first few kB of
      the file. If we don't find one there, it's highly unlikely that
      this is an XML(-ish) file.
      0b271a07
  14. 06 Jul, 2006 2 commits
  15. 24 May, 2006 1 commit
  16. 09 May, 2006 1 commit
  17. 07 May, 2006 1 commit
    • Stefan Kost's avatar
      gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between... · 4576a952
      Stefan Kost authored
      gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x-m4a" and new type "video/mp4". Fixe...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp4_find_box),
      (mp4_type_find), (plugin_init):
      Add typefind to distinguish between "audio/x-m4a" and new type
      "video/mp4". Fixes #340375
      * tests/check/elements/adder.c: (adder_suite):
      Raise timeout to make buildbot happy
      4576a952
  18. 05 May, 2006 1 commit
    • Jan Schmidt's avatar
      gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection,... · 077ba914
      Jan Schmidt authored
      gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing some memleaks in the process.
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find),
      (mpeg1_sys_type_find), (ogganx_type_find), (sw_data_destroy):
      Rearrange MPEG system stream detection, fixing some memleaks in the
      process.
      Constify the data for STARTS_WITH and RIFF helper handlers. Make sure
      they clean up their data correctly.
      Remove unused ogganx caps and move the 'is_annodex' check to inside
      the 'is_ogg' if statement.
      077ba914
  19. 04 May, 2006 1 commit
  20. 03 May, 2006 1 commit
    • Jan Schmidt's avatar
      gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based... · 436aad75
      Jan Schmidt authored
      gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode, don't penalise the probability down ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
      (mpeg_ts_probe_headers), (mpeg_ts_type_find):
      When typefinding an MP3 in push-based mode, don't penalise the
      probability down to 74% when we found 5 valid frames just because we
      can't peek the end of the file.
      Make the probability for detecting MPEG Transport Streams based on the
      number of sequential headers we successfully detected.
      436aad75
  21. 01 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return... · 754ba31a
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMUM probability when we detect str...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (musepack_type_find),
      (plugin_init):
      Refine musepack typefinding a bit. Return MAXIMUM
      probability when we detect stream version 7 to make
      sure the mpeg audio typefinder doesn't trump us.
      754ba31a
  22. 28 Apr, 2006 2 commits
    • Stefan Kost's avatar
      make GstElementDetails const · e972defd
      Stefan Kost authored
      Original commit message from CVS:
      * ext/alsa/gstalsamixerelement.c:
      * ext/alsa/gstalsasrc.c:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      * ext/gnomevfs/gstgnomevfssink.c:
      * ext/gnomevfs/gstgnomevfssrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggparse.c:
      * ext/ogg/gstogmparse.c:
      * ext/pango/gstclockoverlay.c:
      * ext/pango/gsttextoverlay.c:
      * ext/pango/gsttextrender.c:
      * ext/pango/gsttimeoverlay.c:
      * ext/theora/theoradec.c:
      * ext/theora/theoraenc.c:
      * ext/vorbis/vorbisdec.c:
      * ext/vorbis/vorbisenc.c:
      * gst-libs/gst/audio/gstaudiofilter.c:
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      * gst/audioconvert/gstaudioconvert.c:
      * gst/audiorate/gstaudiorate.c:
      * gst/audioresample/gstaudioresample.c:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gststreamselector.c:
      * gst/subparse/gstsubparse.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gsttcpclientsink.c:
      * gst/tcp/gsttcpclientsrc.c:
      * gst/tcp/gsttcpserversink.c:
      * gst/tcp/gsttcpserversrc.c:
      * gst/typefind/gsttypefindfunctions.c: (plugin_init):
      * gst/videorate/gstvideorate.c:
      * gst/videoscale/gstvideoscale.c:
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/volume/gstvolume.c:
      * sys/v4l/gstv4ljpegsrc.c:
      * sys/v4l/gstv4lmjpegsink.c:
      * sys/v4l/gstv4lmjpegsrc.c:
      * sys/v4l/gstv4lsrc.c:
      * sys/ximage/ximagesink.c:
      * sys/xvimage/xvimagesink.c:
      * tests/check/libs/cddabasesrc.c:
      make GstElementDetails const
      e972defd
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more... · b0091828
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more cases (don't peek for chunks of multiple...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (wavpack_type_find):
      Fix wavpack typefinding to work in more cases (don't peek
      for chunks of multiple hundred kBs at once, but process
      things step-by-step in smaller units). Fixes #339786.
      b0091828
  23. 22 Apr, 2006 1 commit
  24. 07 Apr, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstplaybasebin.c: Don't remove our mute-probe if someone else already did so. · 67dac71e
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (mute_stream), (setup_substreams):
      Don't remove our mute-probe if someone else already did so.
      Don't set a 2nd one if there is already one pending on the pad.
      * gst/playback/gstplaybin.c: (gst_play_bin_send_event_to_sink),
      (do_playbin_seek):
      When a seek fails, ensure that playbin is still set back to playing.
      * gst/typefind/gsttypefindfunctions.c: (mpeg_ts_probe_headers),
      (mpeg_ts_type_find), (plugin_init):
      Add a typefind function for mpeg-ts streams.
      67dac71e
  25. 19 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Can't do tag preferences via probability,... · a73e8177
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Can't do tag preferences via probability, as tags would then lose against types ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (id3v2_type_find),
      (id3v1_type_find), (apetag_type_find), (plugin_init):
      Can't do tag preferences via probability, as tags would then
      lose against types that are recognised with MAXIMUM probability
      (like .wav); so let all tag typefinders return MAXIMUM themselves
      and order them via the rank. Split ID3v1 and ID3v2 typefinders so
      that we can prefer APE to ID3v1 (fixes #335028).
      a73e8177
  26. 11 Mar, 2006 1 commit
  27. 10 Mar, 2006 1 commit
  28. 09 Mar, 2006 3 commits
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Fix invalid memory access to region... · c5de07b3
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Fix invalid memory access to region before peek'd data (#332964).
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
      Fix invalid memory access to region before peek'd data (#332964).
      c5de07b3
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Refactor mpeg/audio typefinding to make... · 2bd60967
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Refactor mpeg/audio typefinding to make it more maintainable and easier to fine-...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
      (mp3_type_find):
      Refactor mpeg/audio typefinding to make it more maintainable
      and easier to fine-tune. Make probing into middle of the file
      work properly (fixes #333900, also see #152688).
      2bd60967
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Remove part from previous commit that was... · 7aff0dfe
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Remove part from previous commit that was bogus: g_utf8_validate() does in fact ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c:
      (utf8_type_find_have_valid_utf8_at_offset):
      Remove part from previous commit that was bogus:
      g_utf8_validate() does in fact not accept embedded
      zeroes, so we don't need to check for those (thanks
      to Mike for the hint).
      7aff0dfe
  29. 08 Mar, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Make plain/text typefinder more... · ca6e20ae
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Make plain/text typefinder more conservative: firstly, check for embedded zeroes...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c:
      (utf8_type_find_count_embedded_zeroes),
      (utf8_type_find_have_valid_utf8_at_offset), (utf8_type_find):
      Make plain/text typefinder more conservative: firstly, check
      for embedded zeroes, which are perfectly valid UTF-8 characters,
      but also a fairly good sign that something is not a plain text
      file; secondly, probe into the middle of the file if possible.
      If we can't probe into the middle, limit the probability value
      to be returned to TYPE_FIND_POSSIBLE (see #333900).
      ca6e20ae
    • Michael Smith's avatar
      gst/typefind/gsttypefindfunctions.c: Make typefind function name for mpeg4 video unique. · 1d629c12
      Michael Smith authored
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (plugin_init):
      Make typefind function name for mpeg4 video unique.
      1d629c12
  30. 05 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Give id3 and ape tag typefinders a rank... · 8bb1333c
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Give id3 and ape tag typefinders a rank slightly higher than PRIMARY to ensure t...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (plugin_init):
      Give id3 and ape tag typefinders a rank slightly higher
      than PRIMARY to ensure they're always run before any of
      the other typefinders (in particular wav and mp3) (#324186).
      8bb1333c
  31. 01 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Some typefinding fine-tuning: · 5be137bb
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (id3_type_find),
      (apetag_type_find), (ape_type_find), (plugin_init):
      Some typefinding fine-tuning:
      - rank ID3/APE tags in order of preference via probabilities, so that
      ID3v2 > APEv2 > APEv1 > ID3v1.
      - three or four bytes don't really justify MAXIMUM probability,
      change those to 'very likely' (musepack and monkeysaudio).
      5be137bb
  32. 24 Feb, 2006 1 commit
    • Michael Smith's avatar
      gst/typefind/gsttypefindfunctions.c: Fix CMML type find function to not... · 5b86bcab
      Michael Smith authored
      gst/typefind/gsttypefindfunctions.c: Fix CMML type find function to not require a specific minor version of the CMML ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find),
      (cmml_type_find), (plugin_init):
      Fix CMML type find function to not require a specific minor version
      of the CMML header.
      
      Add an MPEG4 video elementary stream typefind function.
      5b86bcab
  33. 22 Feb, 2006 1 commit