summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [MOVED FROM BAD 35/57] gst/flv/gstflvdemux.c: Instead of using ↵Sebastian Dröge2009-05-121-9/+25
| | | | | | | | | | | | gst_pad_event_default() use a small gst_pad_push_event() wrapper that only do... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_push_src_event), (gst_flv_demux_loop), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event): Instead of using gst_pad_event_default() use a small gst_pad_push_event() wrapper that only does what we want and is much more simple.
* [MOVED FROM BAD 34/57] gst/flv/gstflvdemux.*: If our index was created by ↵Sebastian Dröge2009-05-122-0/+13
| | | | | | | | | | | | the element and not provided from the outside we should destroy it... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_change_state), (gst_flv_demux_set_index), (gst_flv_demux_init): * gst/flv/gstflvdemux.h: If our index was created by the element and not provided from the outside we should destroy it when starting a new stream to get all old entries removed.
* [MOVED FROM BAD 33/57] gst/flv/gstflvdemux.c: Improve debugging a bit when ↵Sebastian Dröge2009-05-121-3/+6
| | | | | | | | pulling a buffer from upstream fails. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range): Improve debugging a bit when pulling a buffer from upstream fails.
* [MOVED FROM BAD 32/57] gst/flv/: Close the currently playing segment from ↵Sebastian Dröge2009-05-123-9/+32
| | | | | | | | | | | | | the streaming thread instead of the thread where the seek event is... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_dispose): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Close the currently playing segment from the streaming thread instead of the thread where the seek event is handled.
* [MOVED FROM BAD 31/57] gst/flv/gstflvmux.c: Don't set video_codec to the ↵Sebastian Dröge2009-05-121-4/+4
| | | | | | | | | | | value that actually should go into audio codec, otherwise we create... Original commit message from CVS: * gst/flv/gstflvmux.c: (gst_flv_mux_audio_pad_setcaps), (gst_flv_mux_write_buffer): Don't set video_codec to the value that actually should go into audio codec, otherwise we create invalid files. Fixes bug #556564.
* [MOVED FROM BAD 30/57] gst/flv/gstflvdemux.c: Fix regression of handling ↵Sebastian Dröge2009-05-121-6/+6
| | | | | | | | | | flow returns in pull mode. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag), (gst_flv_demux_pull_header): Fix regression of handling flow returns in pull mode. Fixes bug #556003.
* [MOVED FROM BAD 29/57] gst/flv/gstflvparse.c: Use ↵Sebastian Dröge2009-05-121-6/+30
| | | | | | | | | | | | | gst_pad_alloc_buffer_and_set_caps() to make sure we get a buffer with caps that we can wor... Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Use gst_pad_alloc_buffer_and_set_caps() to make sure we get a buffer with caps that we can work with (i.e. the pad's caps). Add non-keyframe video frames to the index too but without the keyframe flag. Add audio frames to the index only if we have no video stream.
* [MOVED FROM BAD 28/57] gst/flv/gstflvparse.c: Create pads from the pad ↵Sebastian Dröge2009-05-121-7/+16
| | | | | | | | | | templates, use fixed caps on them and only activate them after the ca... Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Create pads from the pad templates, use fixed caps on them and only activate them after the caps are set.
* [MOVED FROM BAD 27/57] gst/flv/: Get an approximate duration of the file by ↵Sebastian Dröge2009-05-123-0/+65
| | | | | | | | | | | | looking at the timestamp of the last tag in pull mode. If we get... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_loop): * gst/flv/gstflvparse.c: (gst_flv_parse_tag_timestamp): * gst/flv/gstflvparse.h: Get an approximate duration of the file by looking at the timestamp of the last tag in pull mode. If we get (maybe better) duration from metadata later we'll use that instead.
* [MOVED FROM BAD 26/57] gst/flv/gstflvdemux.c: Refactor _pull_range() logic ↵Sebastian Dröge2009-05-121-39/+31
| | | | | | | | | | with checks into a seperate function to make things a bit more re... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range), (gst_flv_demux_pull_tag), (gst_flv_demux_pull_header): Refactor _pull_range() logic with checks into a seperate function to make things a bit more readable.
* [MOVED FROM BAD 25/57] gst/flv/gstflvdemux.c: Use ↵Sebastian Dröge2009-05-121-10/+11
| | | | | | | | | | | gst_element_class_set_details_simple(). Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_chain), (gst_flv_demux_base_init): Use gst_element_class_set_details_simple(). If we get GST_FLOW_NOT_LINKED in the parse loop but at least one of the pads is linked continue the loop.
* [MOVED FROM BAD 24/57] gst/flv/gstflvparse.c: Correct caps for video codec ↵Sebastian Dröge2009-05-121-3/+24
| | | | | | | | | | | | | | id 5: It's On2 VP6 with alpha channel which needs a different dec... Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate), (gst_flv_parse_tag_audio), (gst_flv_parse_video_negotiate): Correct caps for video codec id 5: It's On2 VP6 with alpha channel which needs a different decoder and has different caps. Add support for audio codec id 14, which is MP3 with 8kHz sampling rate. Fix endianness and signedness for raw audio codec ids. Add support for alaw and mulaw audio.
* [MOVED FROM BAD 23/57] gst/flv/gstflvdemux.c: Go out of the parse loop as ↵Sebastian Dröge2009-05-121-1/+9
| | | | | | | | | | | soon as we get an error instead of parsing until the GstAdapter is... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_chain): Go out of the parse loop as soon as we get an error instead of parsing until the GstAdapter is empty. Add some explanations about the header and tag size. Don't print synchronizing message if everything is fine.
* [MOVED FROM BAD 22/57] gst/flv/: Add first version of a FLV muxer. The only ↵Sebastian Dröge2009-05-124-9/+849
| | | | | | | | | | | | | | | | | | | missing feature is writing of stream metadata. Original commit message from CVS: * gst/flv/Makefile.am: * gst/flv/gstflvdemux.c: (plugin_init): * gst/flv/gstflvmux.c: (gst_flv_mux_base_init), (gst_flv_mux_class_init), (gst_flv_mux_init), (gst_flv_mux_finalize), (gst_flv_mux_reset), (gst_flv_mux_handle_src_event), (gst_flv_mux_handle_sink_event), (gst_flv_mux_video_pad_setcaps), (gst_flv_mux_audio_pad_setcaps), (gst_flv_mux_request_new_pad), (gst_flv_mux_release_pad), (gst_flv_mux_write_header), (gst_flv_mux_write_buffer), (gst_flv_mux_collected), (gst_flv_mux_change_state): * gst/flv/gstflvmux.h: Add first version of a FLV muxer. The only missing feature is writing of stream metadata.
* [MOVED FROM BAD 21/57] gst/flv/: Introduce demuxing support for AAC andJulien Moutte2009-05-123-196/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2008-06-14 Julien Moutte <julien@fluendo.com> * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_dispose): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate), (gst_flv_parse_tag_audio), (gst_flv_parse_video_negotiate), (gst_flv_parse_tag_video): Introduce demuxing support for AAC and H.264/AVC inside FLV. * sys/dshowdecwrapper/gstdshowaudiodec.c: (gst_dshowaudiodec_init), (gst_dshowaudiodec_chain), (gst_dshowaudiodec_push_buffer), (gst_dshowaudiodec_sink_event), (gst_dshowaudiodec_setup_graph): * sys/dshowdecwrapper/gstdshowaudiodec.h: * sys/dshowdecwrapper/gstdshowvideodec.c: (gst_dshowvideodec_init), (gst_dshowvideodec_sink_event), (gst_dshowvideodec_chain), (gst_dshowvideodec_push_buffer), (gst_dshowvideodec_src_getcaps): * sys/dshowdecwrapper/gstdshowvideodec.h: Lot of random fixes to improve stability (ref counting, safety checks...)
* [MOVED FROM BAD 20/57] gst/flv/gstflvdemux.c: Forward unknown queries ↵Wim Taymans2009-05-121-3/+1
| | | | | | | | upstream instead of returning FALSE on them. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_query): Forward unknown queries upstream instead of returning FALSE on them.
* [MOVED FROM BAD 19/57] gst/flv/gstflvparse.c: Handle NULL returns from ↵Tim-Philipp Müller2009-05-121-3/+8
| | | | | | | | | | FLV_GET_STRING() more gracefully. Fixes crash caused by a strlen on a... Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script): Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes crash caused by a strlen on a NULL string (#527622).
* [MOVED FROM BAD 18/57] gst/flv/gstflvparse.c: Don't strdup (and thus leak) ↵Tim-Philipp Müller2009-05-121-4/+4
| | | | | | | | | | codec name strings when passing them to gst_tag_list_add(). Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Don't strdup (and thus leak) codec name strings when passing them to gst_tag_list_add().
* [MOVED FROM BAD 17/57] gst/flv/gstflvparse.c: Fix list of supported and ↵Edward Hervey2009-05-121-8/+55
| | | | | | | | | | | known codecs. Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Fix list of supported and known codecs. Emit tag with the codec name so it gets properly reported in totem and other applications.
* [MOVED FROM BAD 16/57] gst/flv/gstflvparse.c: Output segment with proper ↵Edward Hervey2009-05-121-8/+12
| | | | | | | | | | 'stop' value, makes flvdemux 100% compatible with gnonlin. Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Output segment with proper 'stop' value, makes flvdemux 100% compatible with gnonlin.
* [MOVED FROM BAD 15/57] gst/flv/gstflvparse.c: Add mapping for Nellymoser ↵Edward Hervey2009-05-121-0/+18
| | | | | | | | | | | ASAO audio codec. Original commit message from CVS: * gst/flv/gstflvparse.c: Add mapping for Nellymoser ASAO audio codec. (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Make sure we actually have data to read at the end of the tag. This avoids trying to allocate negative buffers.
* [MOVED FROM BAD 14/57] gst/flv/gstflvparse.c: Don't emit no-more-pads for ↵Julien Moutte2009-05-121-10/+10
| | | | | | | | | | | | | single pad scenarios as the header is definitely not reliable. We ... Original commit message from CVS: 2007-10-22 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_type): Don't emit no-more-pads for single pad scenarios as the header is definitely not reliable. We emit them for 2 pads scenarios though to speed up media discovery.
* [MOVED FROM BAD 13/57] gst/flv/gstflvparse.c: I got it wrong again, audio ↵Julien Moutte2009-05-121-7/+6
| | | | | | | | | | | rate was not detected correctly in all cases. Original commit message from CVS: 2007-09-27 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): I got it wrong again, audio rate was not detected correctly in all cases.
* [MOVED FROM BAD 12/57] gst/flv/gstflvparse.c: codec_data is needed for every ↵Julien Moutte2009-05-121-2/+3
| | | | | | | | | | | | tag not just the first one. (Fix a stupid bug i introduced with... Original commit message from CVS: 2007-09-26 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): codec_data is needed for every tag not just the first one. (Fix a stupid bug i introduced without testing)
* [MOVED FROM BAD 11/57] gst/flv/gstflvparse.c: Fix bit masks operations to be ↵Julien Moutte2009-05-121-49/+27
| | | | | | | | | | | | sure we detect the codec_tags and sample rates correctly. Original commit message from CVS: 2007-09-26 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Fix bit masks operations to be sure we detect the codec_tags and sample rates correctly. Fix raw audio caps generation.
* [MOVED FROM BAD 10/57] gst/: Printf format fixes (#476128).Peter Kjellerstedt2009-05-122-5/+8
| | | | | | | | | | | Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst-libs/gst/app/gstappsink.c: * gst/flv/gstflvdemux.c: * gst/flv/gstflvparse.c: * gst/interleave/deinterleave.c: * gst/switch/gstswitch.c: Printf format fixes (#476128).
* [MOVED FROM BAD 09/57] gst/flv/gstflvdemux.c: Make sure we initialize the ↵Julien Moutte2009-05-121-0/+1
| | | | | | | | | | seek result. Original commit message from CVS: 2007-08-27 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_handle_seek_pull): Make sure we initialize the seek result.
* [MOVED FROM BAD 08/57] gst/flv/gstflvdemux.c: Remove some useless ifdef.Julien Moutte2009-05-121-2/+0
| | | | | | | | | | | Original commit message from CVS: 2007-08-24 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_flush), (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_find_offset), (gst_flv_demux_handle_seek_push), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event), (gst_flv_demux_src_event): Remove some useless ifdef.
* [MOVED FROM BAD 07/57] gst/flv/gstflvdemux.c: Implement seeking in push mode.Julien Moutte2009-05-122-34/+165
| | | | | | | | | | | | | | Original commit message from CVS: 2007-08-24 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_flush), (gst_flv_demux_cleanup), (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_find_offset), (gst_flv_demux_handle_seek_push), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event), (gst_flv_demux_src_event): Implement seeking in push mode. * gst/flv/gstflvdemux.h:
* [MOVED FROM BAD 06/57] gst/flv/: Handle pixel aspect ratio through metadata ↵Julien Moutte2009-05-123-1/+28
| | | | | | | | | | | | | | | | tags like ASF does. Fluendo muxer supports this and Original commit message from CVS: 2007-08-22 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_pull_tag): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Handle pixel aspect ratio through metadata tags like ASF does. Fluendo muxer supports this and Flash players can support it as well this way.
* [MOVED FROM BAD 05/57] gst/flv/: Make sure we don't try filling up the index ↵Julien Moutte2009-05-122-23/+40
| | | | | | | | | | | | | | | if no times object was parsed. Fix the way we decide to push ta... Original commit message from CVS: 2007-08-22 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag): * gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Make sure we don't try filling up the index if no times object was parsed. Fix the way we decide to push tags and emit no-more-pads. Fix some printf typing in debugging.
* [MOVED FROM BAD 04/57] gst/flv/gstflvdemux.c: Fix locking and refcounting on ↵Wim Taymans2009-05-121-1/+12
| | | | | | | | | the index. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_set_index), (gst_flv_demux_get_index): Fix locking and refcounting on the index.
* [MOVED FROM BAD 03/57] gst/flv/gstflvdemux.c: First method for seeking in ↵Julien Moutte2009-05-123-68/+493
| | | | | | | | | | | | | | | | | | | | | | pull mode using the index built step by step or coming from metadata. Original commit message from CVS: 2007-08-14 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_adapter_flush), (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_do_seek), (gst_flv_demux_handle_seek), (gst_flv_demux_sink_event), (gst_flv_demux_src_event), (gst_flv_demux_query), (gst_flv_demux_change_state), (gst_flv_demux_set_index), (gst_flv_demux_get_index), (gst_flv_demux_dispose), (gst_flv_demux_class_init): First method for seeking in pull mode using the index built step by step or coming from metadata. * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (FLV_GET_STRING), (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Parse more metadata types and keyframes index.
* [MOVED FROM BAD 02/57] gst/flv/: Handle not linked pads, try to make it ↵Julien Moutte2009-05-124-42/+151
| | | | | | | | | | | | | | | | | | reusable, more safety checks. Original commit message from CVS: 2007-07-25 Julien MOUTTE <julien@moutte.net> (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_change_state), (gst_flv_demux_dispose), (gst_flv_demux_init): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (FLV_GET_STRING), (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_header): * gst/flv/gstflvparse.h: Handle not linked pads, try to make it reusable, more safety checks.
* [MOVED FROM BAD 01/57] Adds a first draft of an FLV demuxer.Julien Moutte2009-05-125-0/+1633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2007-07-19 Julien MOUTTE <julien@moutte.net> * configure.ac: * gst/flv/Makefile.am: * gst/flv/gstflvdemux.c: (gst_flv_demux_flush), (gst_flv_demux_cleanup), (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_pull_header), (gst_flv_demux_seek_to_prev_keyframe), (gst_flv_demux_loop), (gst_flv_demux_sink_activate), (gst_flv_demux_sink_activate_push), (gst_flv_demux_sink_activate_pull), (gst_flv_demux_sink_event), (gst_flv_demux_change_state), (gst_flv_demux_dispose), (gst_flv_demux_base_init), (gst_flv_demux_class_init), (gst_flv_demux_init), (plugin_init): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (FLV_GET_BEUI24), (FLV_GET_STRING), (gst_flv_demux_query_types), (gst_flv_demux_query), (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_type), (gst_flv_parse_header): * gst/flv/gstflvparse.h: Adds a first draft of an FLV demuxer. It does not do seeking yet, it supports pull and push mode so YES you can use it to play youtube videos directly from an HTTP uri. Not so much testing done yet but it parses metadata, reply to duration queries, etc...
* rtp: Link to -lmSebastian Dröge2009-05-121-1/+2
| | | | Fixes bug #582281.
* rganalysis: Remove invalid unit testSebastian Dröge2009-05-121-43/+0
| | | | | | | | | | | The test creates buffers with non-silence, sets the GAP flag on it and expects rganalysis to ignore the content and assume silence. That's not the way how GAP buffers should be used, if the GAP flag is set elements *can* assume that they only contain silence but they're not *required* to assume that. The GAP flag must only be set on silence buffers. Fixes bug #582252.
* 0.10.14.2 pre-releaseJan Schmidt2009-05-1235-1945/+4620
|
* checks: dist id3-577468-unsynced-tag.tag test fileJan Schmidt2009-05-111-1/+2
|
* avidemux: initialize variable to 0Tristan Matthews2009-05-111-1/+1
| | | | Fixes #582218.
* matroskademux: Only search for the index entry onceSebastian Dröge2009-05-111-4/+7
|
* matroskademux: Use the first index entry if it's after the seek positionSebastian Dröge2009-05-111-0/+3
|
* avidemux: Use the first entry for a given stream if the first entry is after ↵Sebastian Dröge2009-05-111-4/+13
| | | | the seek position
* avidemux: Use binary search for finding the requested index entry when seekingSebastian Dröge2009-05-111-17/+27
|
* matroskademux: Improve/optimize seekingSebastian Dröge2009-05-112-51/+57
| | | | | | | | | First of all a keyframe seek should be done to the keyframe right before the requested position and not to the keyframe that is nearest to the requested position. Use per track index arrays and use our new binary search function from core to speed up the search.
* Require released versions of core/baseSebastian Dröge2009-05-111-2/+2
|
* gdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtkSebastian Dröge2009-05-111-2/+2
| | | | This fixes the build if gdk-pixbuf is found but gtk isn't
* Always define the conditional HAVE_GTK to fix configure in some casesSebastian Dröge2009-05-111-1/+1
|
* Run libtoolize before aclocalMarc-Andre Lureau2009-05-101-1/+1
| | | | This unbreaks the build in some cases. Fixes bug #582021
* matroska: fix printf format to agree with argumentDavid Schleef2009-05-091-1/+1
|