summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.c
Commit message (Collapse)AuthorAgeFilesLines
...
* gst/qtdemux/qtdemux.c: Remove problematic and useless refcount check.Edward Hervey2008-10-151-2/+0
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_node): Remove problematic and useless refcount check. Fixes #556381
* gst/qtdemux/qtdemux.c: Some 'broken' files out there have atom lengths of ↵Edward Hervey2008-09-171-0/+17
| | | | | | | | | | | | zero... which basically results in qtdemux ... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_header), (gst_qtdemux_chain): Some 'broken' files out there have atom lengths of zero... which basically results in qtdemux consuming that atom again and again until the *end of night* ! Detect that and emits an adequate element error message.
* gst/qtdemux/qtdemux.c: Add mapping for 'tiff' => image/tiffJonathan Matthew2008-09-141-0/+4
| | | | | | | | Original commit message from CVS: Patch by: Jonathan Matthew <notverysmart@gmail.com> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add mapping for 'tiff' => image/tiff Fixes #552213
* gst/qtdemux/: Add support for video/mj2 mime-type and its additional ↵Mark Nauwelaerts2008-09-031-3/+109
| | | | | | | | | | | | | | atoms/boxes. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_loop_state_header), (qtdemux_parse_node), (qtdemux_parse_trak), (qtdemux_video_caps): * gst/qtdemux/qtdemux.h: * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: Add support for video/mj2 mime-type and its additional atoms/boxes. Fixes #550646.
* gst/qtdemux/qtdemux.c: Add mapping for IMA Loki SDL MJPEG ADPCM codec.Wim Taymans2008-09-021-1/+12
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Add mapping for IMA Loki SDL MJPEG ADPCM codec. Add some alternative byteswapped mappings that seem to pop up sometimes. Fixes #550288.
* gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 ↵David Schleef2008-08-141-0/+1
| | | | | | | | pulldown, i.e., 24p. Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 pulldown, i.e., 24p.
* gst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer ↵Stefan Kost2008-08-061-2/+13
| | | | | | | | | has a decoder for it but ffmpeg does not. Original commit message from CVS: * gst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer has a decoder for it but ffmpeg does not.
* gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task ↵Stefan Kost2008-08-041-4/+3
| | | | | | | | | instead of hard-coded Original commit message from CVS: * gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of hard-coded TRUE.
* gst/qtdemux/: Add keyword tag support. Fixes #520694 for qtdemux.Stefan Kost2008-08-041-0/+11
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: * gst/qtdemux/qtdemux_fourcc.h: Add keyword tag support. Fixes #520694 for qtdemux.
* gst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).Stefan Kost2008-08-041-0/+31
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).
* gst/qtdemux/qtdemux.c: Fix segment-stop regression.Edward Hervey2008-07-251-1/+71
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment): Fix segment-stop regression. Add documentation regarding segments in quicktime files by Wim Taymans. Fixes #544509
* gst/qtdemux/qtdemux.c: Revert ISO base media spec based pixel-aspect-ratio ↵Mark Nauwelaerts2008-07-181-32/+0
| | | | | | | | | | calculation. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Revert ISO base media spec based pixel-aspect-ratio calculation. Fixes #543300.
* gst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio. Fixes ↵Thiago Sousa Santos2008-07-101-2/+2
| | | | | | | | | #542410. Original commit message from CVS: Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br> * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Correctly distinguish 8bit vs 16bit raw audio. Fixes #542410.
* gst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width ↵Mark Nauwelaerts2008-07-081-0/+32
| | | | | | | | | | and height provided in track. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Set pixel-aspect-ratio in caps using display width and height provided in track.
* gst/qtdemux/qtdemux.c: Add Dirac stream typeDavid Schleef2008-06-271-0/+4
| | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add Dirac stream type
* gst/qtdemux/: Improve meta-data handling, add 'comment', 'description' and ↵Bastien Nocera2008-05-311-9/+46
| | | | | | | | | | | | | 'copyright' tag handling. Original commit message from CVS: Patch by: Bastien Nocera <hadess at hadess dot net> * gst/qtdemux/qtdemux.c: (qtdemux_tag_add_str), (qtdemux_parse_udta): * gst/qtdemux/qtdemux_fourcc.h: Improve meta-data handling, add 'comment', 'description' and 'copyright' tag handling. Fixes #535935
* gst/qtdemux/qtdemux.c: Make sure we we don't clip the segment's stop using ↵Julien Moutte2008-05-311-43/+79
| | | | | | | | | | | | | | | | | | | | the main segment duration as that could cr... Original commit message from CVS: 2008-05-31 Julien Moutte <julien@fluendo.com> * gst/qtdemux/qtdemux.c: (gst_qtdemux_find_keyframe), (gst_qtdemux_find_segment), (gst_qtdemux_perform_seek), (gst_qtdemux_seek_to_previous_keyframe), (gst_qtdemux_activate_segment), (gst_qtdemux_loop): Make sure we we don't clip the segment's stop using the main segment duration as that could crop quite some video frames. Make reverse playback support more robust and support edit lists. Support seeking to the last frame, and fix reverse looping playback. Add some debugging. * win32/common/config.h: Updated.
* gst/qtdemux/qtdemux.c: Add caps for DVCPRO50 and DVCPRO HD PAL/NTSC. See ↵j^2008-05-261-1/+17
| | | | | | | | | #526481. Original commit message from CVS: Patch by: j^ <j at oil21 dot org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add caps for DVCPRO50 and DVCPRO HD PAL/NTSC. See #526481.
* gst/qtdemux/qtdemux.c: Unbreak segment activation again. Fixes #531672.Wim Taymans2008-05-261-3/+23
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_find_segment), (gst_qtdemux_activate_segment): Unbreak segment activation again. Fixes #531672.
* gst/qtdemux/qtdemux.c: Add more mpeg2 variants. Fixes #530886.j^2008-05-021-1/+10
| | | | | | | Original commit message from CVS: Patch by: j^ <j@bootlab.org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add more mpeg2 variants. Fixes #530886.
* Use new error code for encrypted streams (which requires core CVS).Tim-Philipp Müller2008-04-301-2/+1
| | | | | | | Original commit message from CVS: * configure.ac: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Use new error code for encrypted streams (which requires core CVS).
* gst/qtdemux/qtdemux.c: Fix swapped pad template names, spotted by Thiago ↵Tim-Philipp Müller2008-04-301-2/+2
| | | | | | | | | Sousa Santos. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_videosrc_template), (gst_qtdemux_audiosrc_template): Fix swapped pad template names, spotted by Thiago Sousa Santos.
* gst/qtdemux/qtdemux.c: Unbreak streaming mode again.Wim Taymans2008-03-251-0/+3
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (next_entry_size): Unbreak streaming mode again.
* gst/qtdemux/qtdemux.c: Make sure we always send a DISCONT after a seek by ↵Wim Taymans2008-03-111-3/+7
| | | | | | | | | | | | setting the sample index to an undefined va... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek), (gst_qtdemux_activate_segment), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie), (qtdemux_parse_trak): Make sure we always send a DISCONT after a seek by setting the sample index to an undefined value after a seek.
* gst/qtdemux/qtdemux.c: Implement reverse playback support.Julien Moutte2007-11-241-31/+214
| | | | | | | | | | | | Original commit message from CVS: 2007-11-24 Julien MOUTTE <julien@moutte.net> * gst/qtdemux/qtdemux.c: (gst_qtdemux_find_segment), (gst_qtdemux_move_stream), (gst_qtdemux_do_seek), (gst_qtdemux_seek_to_previous_keyframe), (gst_qtdemux_activate_segment), (gst_qtdemux_advance_sample), (gst_qtdemux_loop_state_movie), (gst_qtdemux_loop): Implement reverse playback support.
* Fix build on Mac OS X 10.5Julien Moutte2007-11-201-1/+2
| | | | | | | | | | | | Original commit message from CVS: 2007-11-20 Julien MOUTTE <julien@moutte.net> * ext/taglib/gsttaglibmux.c: (gst_tag_lib_mux_render_tag), (gst_tag_lib_mux_adjust_event_offsets): * gst/qtdemux/qtdemux.c: (qtdemux_parse_theora_extension): * sys/osxaudio/Makefile.am: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: Fix build on Mac OS X 10.5
* gst/qtdemux/: Add suppport for theora in quicktime according to XiphQT.Wim Taymans2007-11-151-0/+139
| | | | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie), (qtdemux_parse_theora_extension), (qtdemux_parse_node), (qtdemux_parse_trak), (qtdemux_video_caps): * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: Add suppport for theora in quicktime according to XiphQT.
* gst/qtdemux/qtdemux.c: Properly free QTDemuxSamples array.Edward Hervey2007-11-121-4/+8
| | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (qtdemux_parse_samples): Properly free QTDemuxSamples array. Protect table write with a sensible check, some files apparently DO contain stts values starting with 0 :(
* gst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that ↵Stefan Kost2007-11-121-2/+7
| | | | | | | | | | previous commit messed up. Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/qtdemux/qtdemux.c: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that previous commit messed up.
* gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the ↵Stefan Kost2007-11-121-3/+2
| | | | | | | | | | element when we should, but not when we its no... Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/qtdemux/qtdemux.c: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its not needed.
* gst/qtdemux/qtdemux.c: Smarter combine_flow code that also deals with ↵Wim Taymans2007-10-301-11/+30
| | | | | | | | | | | downstream elements returning UNEXPECTED when t... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (gst_qtdemux_combine_flows), (gst_qtdemux_loop_state_movie): Smarter combine_flow code that also deals with downstream elements returning UNEXPECTED when they receive data out of the segment boundaries. Fixes #491305.
* gst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960.Sebastian Dröge2007-09-251-0/+7
| | | | | | | Original commit message from CVS: Patch by: <j at bootlab dot org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add fourccs for MPEG2 HDV streams. Fixes #479960.
* gst/qtdemux/: Don't assume tags are encoded as UTF-8 (#473670).Tim-Philipp Müller2007-09-051-4/+13
| | | | | | | Original commit message from CVS: * gst/qtdemux/Makefile.am: * gst/qtdemux/qtdemux.c: Don't assume tags are encoded as UTF-8 (#473670).
* gst/qtdemux/qtdemux.c: Fix parsing of mp4a version 0 atoms. Fixes #465774.Wim Taymans2007-08-121-0/+2
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_node): Fix parsing of mp4a version 0 atoms. Fixes #465774.
* gst/qtdemux/qtdemux.c: If the buffer was entirely clipped ... don't try ↵Edward Hervey2007-07-301-0/+3
| | | | | | | | sending it :) Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie): If the buffer was entirely clipped ... don't try sending it :)
* gst/qtdemux/qtdemux.c: Add codec mapping for '2vuy' (Raw YUV produced by ↵Edward Hervey2007-07-241-0/+6
| | | | | | | | FCP) and 'divx'. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add codec mapping for '2vuy' (Raw YUV produced by FCP) and 'divx'.
* gst/qtdemux/qtdemux.c: Clip raw audio and video when we can, keep track of ↵Wim Taymans2007-07-231-73/+282
| | | | | | | | | | | | | current output segment. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (gst_qtdemux_clip_buffer), (gst_qtdemux_loop_state_movie), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): Clip raw audio and video when we can, keep track of current output segment. Don't leak buffers and events when there is no output pad. Improve debugging here and there.
* gst/qtdemux/qtdemux.c: Fix parsing of esds atoms inside mp4a atoms so that ↵Wim Taymans2007-07-161-2/+3
| | | | | | | | | | we can set correct codec_info for AAC audi... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_node): Fix parsing of esds atoms inside mp4a atoms so that we can set correct codec_info for AAC audio. Fixes #457097 along with a whole other bunch of qt/aac files.
* gst/qtdemux/: Add MJPG to the variants of motion jpeg.Stefan Kost2007-06-201-2/+3
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_samples), (qtdemux_video_caps): * gst/qtdemux/qtdemux_fourcc.h: Add MJPG to the variants of motion jpeg.
* gst/qtdemux/qtdemux.c: For AMR-NB streams, export the AMRSpecificBox as ↵Edward Hervey2007-06-141-0/+15
| | | | | | | | | | codec_data on the caps. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): For AMR-NB streams, export the AMRSpecificBox as codec_data on the caps. Fixes #447458
* gst/: Printf format fixes (#439910, #439911).Tim-Philipp Müller2007-05-201-1/+1
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample): * gst/switch/gstswitch.c: (gst_switch_chain): Printf format fixes (#439910, #439911).
* gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, ↵Stefan Kost2007-05-101-9/+15
| | | | | | | | | | | | | | | | | | | | | gst_qtdemux_loop_state_header, gst_qtdemux_activate_segment, gst_qtde... Original commit message from CVS: * gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, gst_qtdemux_loop_state_header, gst_qtdemux_activate_segment, gst_qtdemux_prepare_current_sample, gst_qtdemux_combine_flows, gst_qtdemux_loop_state_movie, gst_qtdemux_loop, qtdemux_parse_segments, qtdemux_parse_trak): * gst/rtpmanager/rtpsession.c (rtp_session_get_bandwidth, rtp_session_get_rtcp_bandwidth, rtp_session_get_cname, rtp_session_get_name, rtp_session_get_email, rtp_session_get_phone, rtp_session_get_location, rtp_session_get_tool, rtp_session_process_bye, session_report_blocks): * gst/rtpmanager/rtpsource.c (rtp_source_process_rtp, rtp_source_send_rtp, rtp_source_process_sr, rtp_source_process_rb): More format arg fixing (spotted by Ali Sabil <ali.sabil@gmail.com>). * gst/switch/Makefile.am: Add require libraries(spotted by Ali Sabil <ali.sabil@gmail.com>).
* gst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the ↵Wim Taymans2007-04-121-1/+1
| | | | | | | | | pts_offset calculations. Original commit message from CVS: * gst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the pts_offset calculations.
* gst/qtdemux/: Handle version 1 mdhd atoms to get extended precision durations.Wim Taymans2007-04-111-14/+23
| | | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration), (qtdemux_parse_samples), (qtdemux_parse_segments), (qtdemux_parse_trak), (qtdemux_parse_tree): * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mdhd): Handle version 1 mdhd atoms to get extended precision durations. Fixes #426972.
* gst/qtdemux/: Process 'ctts' atoms, which are present in AVC ISO files (.mov ↵Edward Hervey2007-03-281-4/+30
| | | | | | | | | | | | | | | | | files with h264 video). Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample), (gst_qtdemux_chain), (qtdemux_parse_samples): * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_ctts): * gst/qtdemux/qtdemux_dump.h: * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: Process 'ctts' atoms, which are present in AVC ISO files (.mov files with h264 video). Use the offset present in 'ctts' to calculate the PTS for each packet and set the PTS on outgoing buffers. Fixes #423283
* gst/qtdemux/qtdemux.*: Share qtdemux debug category across all files, ↵Edward Hervey2007-03-071-3/+1
| | | | | | | | | | otherwise all debugging in files other than qtd... Original commit message from CVS: * gst/qtdemux/qtdemux.c: * gst/qtdemux/qtdemux.h: Share qtdemux debug category across all files, otherwise all debugging in files other than qtdemux.c would end up in the default category.
* gst/qtdemux/: Add X-QT depayloader that will eventually share code with the ↵Wim Taymans2007-01-121-21/+2
| | | | | | | | | | | | | | | | | | | | | | | demuxer. Original commit message from CVS: * gst/qtdemux/Makefile.am: * gst/qtdemux/gstrtpxqtdepay.c: (gst_rtp_xqt_depay_base_init), (gst_rtp_xqt_depay_class_init), (gst_rtp_xqt_depay_init), (gst_rtp_xqt_depay_finalize), (gst_rtp_quicktime_parse_sd), (gst_rtp_xqt_depay_setcaps), (gst_rtp_xqt_depay_process), (gst_rtp_xqt_depay_set_property), (gst_rtp_xqt_depay_get_property), (gst_rtp_xqt_depay_change_state), (gst_rtp_xqt_depay_plugin_init): * gst/qtdemux/gstrtpxqtdepay.h: * gst/qtdemux/qtdemux.c: (gst_qtdemux_base_init), (gst_qtdemux_loop_state_header), (gst_qtdemux_loop), (qtdemux_parse_moov), (qtdemux_parse_container), (qtdemux_parse_node), (gst_qtdemux_add_stream), (qtdemux_parse_trak), (qtdemux_audio_caps): * gst/qtdemux/qtdemux.h: * gst/qtdemux/quicktime.c: (plugin_init): Add X-QT depayloader that will eventually share code with the demuxer. Make new plugin entry point with quicktime releated stuff.
* gst/qtdemux/: Cleanup and refactor to make the code more readable.Wim Taymans2007-01-121-1864/+1151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/qtdemux/Makefile.am: * gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc), (gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows), (gst_qtdemux_loop_state_movie), (gst_qtdemux_loop), (gst_qtdemux_chain), (qtdemux_sink_activate_pull), (qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container), (qtdemux_parse_node), (qtdemux_tree_get_child_by_type), (qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream), (qtdemux_parse_samples), (qtdemux_parse_segments), (qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num), (qtdemux_tag_add_date), (qtdemux_tag_add_gnre), (qtdemux_parse_udta), (qtdemux_redirects_sort_func), (qtdemux_process_redirects), (qtdemux_parse_redirects), (qtdemux_parse_tree), (gst_qtdemux_handle_esds), (qtdemux_video_caps), (qtdemux_audio_caps): * gst/qtdemux/qtdemux.h: * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd), (qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd), (qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss), (qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd), (qtdemux_dump_unknown), (qtdemux_node_dump_foreach), (qtdemux_node_dump): * gst/qtdemux/qtdemux_dump.h: * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: (qtdemux_type_get): * gst/qtdemux/qtdemux_types.h: * gst/qtdemux/qtpalette.h: Cleanup and refactor to make the code more readable. Move debugging/tables into separate files. Add 2/4/16 color palletee support. Fix raw 15 bit RGB handling. Use more FOURCC constants. Add some docs.
* Check for zlib and if available pass it explicitly to the linker when ↵Tim-Philipp Müller2007-01-051-17/+32
| | | | | | | | | | | | | linking qtdemux. If not available (or --disable... Original commit message from CVS: * configure.ac: * gst/qtdemux/Makefile.am: * gst/qtdemux/qtdemux.c: (qtdemux_parse_moov): Check for zlib and if available pass it explicitly to the linker when linking qtdemux. If not available (or --disable-external has been specified!), disable the bits in qtdemux that use it. Fixes build on MingW (#392856).
* gst/qtdemux/qtdemux.c: Don't post BUFFERING messages in streaming mode if ↵Tim-Philipp Müller2006-12-181-7/+5
| | | | | | | | | | | | | | the stream headers are behind the movie dat... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_post_progress), (gst_qtdemux_chain): Don't post BUFFERING messages in streaming mode if the stream headers are behind the movie data; instead, post "progress" element messages as a temporary solution. Apps might get confused and do silly things to the pipeline state if they see buffering messages from different sources and don't realize they come from different sources (#387160).