summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
...
* [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.
* 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.
* matroska: fix printf format to agree with argumentDavid Schleef2009-05-091-1/+1
|
* rtj2kdepay: add basic JPEG 2000 depayloaderWim Taymans2009-05-084-0/+357
|
* rtpj2kpay: set marker bit correctlyWim Taymans2009-05-081-0/+40
|
* rtpj2kpay: add a simple JPEG 2000 payloaderWim Taymans2009-05-084-0/+495
|
* rtpjpegpay: we only need to swap bits on LEWim Taymans2009-05-081-5/+0
|
* Add RANKS for various encoders and muxersChristian Schaller2009-05-072-2/+2
|
* matroskademux: add some debuggingWim Taymans2009-05-071-1/+12
|
* matroskademux: parse xiph headers length correctlyWim Taymans2009-05-071-14/+26
| | | | See #580980
* rganalysis: Add ability to post level messagesGabriel Bouvigne2009-05-074-5/+96
| | | | Fixes bug #581568.
* rtpjpegpay: refuse some unsupported jpeg formatsWim Taymans2009-05-061-5/+14
|
* rtptheorapay: fix descriptionWim Taymans2009-05-061-1/+1
|
* rtpjpegpay: rewrite quant table handlingWim Taymans2009-05-061-93/+132
| | | | | | | Rewrite the quant table parsing to also handle multiple tables in one JPEG HDQ segment. Handle more jpeg types by keeping track of the tables used per component and putting the used ones in the quant headers.
* rtpjpegpay: handle input with 1 quant tableWim Taymans2009-05-061-13/+28
| | | | | | Also handle input with just one quant table, simply duplicate the quant table. Handle invalid SOF correctly and some small cleanups. Fixes #578257
* qtdemux: fix byte order swapping in 3GPP classification entity tagMarco Ballesio2009-05-061-4/+7
| | | | Fixes #580746.
* multipartdemux: avoid reading from inavlid memoryArnout Vandecappelle2009-05-051-1/+4
| | | | | | | Read the timestamp of the incomming buffer before we push it in the adapter and flush it out again as the buffer might be unreffed then and we read from invalid memory. Fixes #581444.
* multipartdemux: don't leak dynamic padsArnout Vandecappelle2009-05-051-0/+8
| | | | | Free the dynamic pads data in finalize. Fixes #581432
* rtpjpegpay: correctly set the type headerWim Taymans2009-05-052-50/+211
| | | | | | | | | | | | | | Don't require width/height on the caps. Use the SOF header to find width/height and fall back to the caps if there is no SOF. Also use the SOF info to find the subsampling and quantization tables used. This allows us to set the right type value in the JPEG rtp header. Deprecate the quality property, it's unused now and it was used wrongly before. Always send full quant tables for now until we have some code to detect default ones. Fixes #580880
* rtpjpegdepay: use width/height from payloadWim Taymans2009-05-052-11/+47
| | | | | | | | | Use the width and the height from the payload headers and set them on the output caps for added awesomeness. Fix quant parsing, we need to check the type in the lower 6 bits. Add first bits of caching quantization tables.
* rtspsrc: Fix find_stream_by_* functionsWim Taymans2009-05-041-25/+11
| | | | | | | Fix various version of find_stream_by_* by not trying to convert an int to a pointer and vice versa, for portability reasons. Fixes #581333
* rtspsrc: fix dummy nat packet logicChris Winter2009-05-041-1/+1
| | | | | | Fix a typo in the dummy NAT packet sending code. Fixes #581329
* rtspsrc: avoid errors after server eofMark Nauwelaerts2009-05-041-1/+8
| | | | | | Server eof (e.g. connection closed) is announced as connection closed, so better record state and act accordingly to prevent (read/write) errors during subsequent teardown/cleanup sequences. #Fixes 580851.(c).
* rtspsrc: also set base_time on src after flushMark Nauwelaerts2009-05-041-1/+5
| | | | | timestamps following flush/seek should be consistent between UDP and TCP interleaved case. Fixes #580851.(b).
* rtspsrc: sanity checks on range infoMark Nauwelaerts2009-05-041-0/+11
| | | | | | A max range that overflows should not be trusted, nor should a max range that equals the min range. Fixes #580851.(a).
* rtspsrc: use SKIP flag to use SCALE headersWim Taymans2009-05-042-22/+15
| | | | | | We can use the SKIP seek flag to instruct the server to send data faster then normal but with the same bandwidth. Fixes #537609