summaryrefslogtreecommitdiffstats
path: root/gst/avi
Commit message (Collapse)AuthorAgeFilesLines
* gst/avi/gstavidemux.c: Some AVI 2.0 (ODML) files don't respect the ↵Edward Hervey2008-08-161-4/+10
| | | | | | | | | | | | 'specifications' completely and instead of using t... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_read_subindexes_push): Some AVI 2.0 (ODML) files don't respect the 'specifications' completely and instead of using the 'ix##' nomenclature, use '##ix'. They're still valid though, this fixes the duration and indexes for virtually all the ODML files I have.
* gst/avi/gstavimux.c: Provide cbSize field for audio extra_data size, and ↵Mark Nauwelaerts2008-08-041-8/+18
| | | | | | | | | take care to pad extra_data. Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): Provide cbSize field for audio extra_data size, and take care to pad extra_data.
* gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.Alessandro Decina2008-07-141-3/+3
| | | | | | | Original commit message from CVS: Patch by: Alessandro Decina <alessandro at nnva dot org> * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp): Fix build of avidemux on big endian architectures.
* gst/avi/avi-ids.h: Add vprp chunk related structures.Mark Nauwelaerts2008-06-294-3/+273
| | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/avi-ids.h: Add vprp chunk related structures. * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp), (gst_avi_demux_parse_stream): Parse optional vprp chunk and add calculated pixel-aspect-ratio to caps. Fixes #539482. * gst/avi/gstavimux.h: * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header): Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.
* gst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a ↵Mark Nauwelaerts2008-06-272-29/+44
| | | | | | | | | | complete one and to make more players happy. ... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): * gst/avi/gstavimux.h: Add 8 bytes to current streamheader to make for a complete one and to make more players happy. Fixes #519460.
* gst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL ↵Stefan Kost2008-06-121-8/+4
| | | | | | | | | checks. Add a FIXME for a random constant in t... Original commit message from CVS: * gst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL checks. Add a FIXME for a random constant in tagmuxing code.
* gst/avi/gstavidemux.c: Try to ignore unparsable/unknown streams and give a ↵Wim Taymans2008-06-101-13/+21
| | | | | | | | | | | | | warning instead of erroring out. Fixes #53... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_header_pull): Try to ignore unparsable/unknown streams and give a warning instead of erroring out. Fixes #537377.
* gst/avi/gstavidemux.c: Catch UNEXPECTED when downstream has reached end of ↵Thijs Vermeir2008-06-051-24/+60
| | | | | | | | | segment in reverse mode. Original commit message from CVS: * gst/avi/gstavidemux.c: Catch UNEXPECTED when downstream has reached end of segment in reverse mode.
* gst/avi/gstavidemux.c: Fix typo in commentThijs Vermeir2008-06-041-1/+1
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Fix typo in comment
* gst/avi/gstavidemux.c: Because we don't know the frame order we need to push ↵Thijs Vermeir2008-06-041-4/+14
| | | | | | | | | till the next keyframe Original commit message from CVS: * gst/avi/gstavidemux.c: Because we don't know the frame order we need to push till the next keyframe
* gst/avi/gstavidemux.c: Set EOS when going out of the segment in reverse playbackThijs Vermeir2008-06-041-4/+19
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Set EOS when going out of the segment in reverse playback
* gst/avi/gstavidemux.*: Implement reverse playback. Fixes #535300.Thijs Vermeir2008-06-022-48/+154
| | | | | | | | | | | | Original commit message from CVS: Patch by: Thijs Vermeir <thijsvermeir at gmail dot com> * gst/avi/gstavidemux.c: (gst_avi_demux_index_next), (gst_avi_demux_index_prev), (gst_avi_demux_index_entry_for_time), (gst_avi_demux_do_seek), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry): * gst/avi/gstavidemux.h: Implement reverse playback. Fixes #535300. Small cleanups.
* gst/avi/gstavimux.c: Also support alaw/mulaw.Stefan Kost2008-05-211-23/+49
| | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: Also support alaw/mulaw.
* gst/avi/gstavimux.c: Set proper rate in avi stream header for PCM audio, and ↵Mark Nauwelaerts2008-05-181-5/+22
| | | | | | | | | also do some more sanity checks on caps ... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_audsink_set_caps): Set proper rate in avi stream header for PCM audio, and also do some more sanity checks on caps in this case. Fixes #511489.
* gst/avi/gstavimux.c: Send an initial BYTE segment to inform downstream of ↵Mark Nauwelaerts2008-05-131-0/+4
| | | | | | | | | later seeking, and to forego sync attempts. Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_start_file): Send an initial BYTE segment to inform downstream of later seeking, and to forego sync attempts.
* gst/avi/gstavimux.c: Do not leave fourcc stream header field empty upon reset.Mark Nauwelaerts2008-05-121-2/+2
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset): Do not leave fourcc stream header field empty upon reset. Fixes #519301.
* gst/avi/gstavidemux.c: Fix typo in comments.Wim Taymans2008-04-251-1/+1
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows): Fix typo in comments. * tests/examples/rtp/client-H263p-PCMA.sdp: * tests/examples/rtp/client-H263p-PCMA.sh: * tests/examples/rtp/client-H264-PCMA.sdp: * tests/examples/rtp/client-H264-PCMA.sh: * tests/examples/rtp/client-H264.sdp: * tests/examples/rtp/client-H264.sh: * tests/examples/rtp/client-PCMA.sdp: * tests/examples/rtp/client-PCMA.sh: * tests/examples/rtp/server-alsasrc-PCMA.sh: * tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh: * tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh: Add some more docs and fix examples.
* gst/avi/gstavidemux.c: Erm, the buffer-size is just guint, no need for the ↵Stefan Kost2008-03-161-1/+1
| | | | | | | | | special format specifier. Original commit message from CVS: * gst/avi/gstavidemux.c: Erm, the buffer-size is just guint, no need for the special format specifier.
* gst/avi/gstavidemux.c: Fix up my last commit. Use G_GUINT32_FORMAT for the ↵Stefan Kost2008-03-161-3/+4
| | | | | | | | | guint32 debug log. Original commit message from CVS: * gst/avi/gstavidemux.c: Fix up my last commit. Use G_GUINT32_FORMAT for the guint32 debug log. Also downgrade a GST_WARNING to GST_DEBUG and add a comment.
* gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier.Stefan Kost2008-03-151-3/+3
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier.
* gst/avi/gstavisubtitle.h: Fix up IS_FOO macros, which makes gtk-doc much ↵Tim-Philipp Müller2008-03-111-2/+2
| | | | | | | | | happier. Original commit message from CVS: * gst/avi/gstavisubtitle.h: (GST_IS_AVI_SUBTITLE), (GST_IS_AVI_SUBTITLE_CLASS): Fix up IS_FOO macros, which makes gtk-doc much happier.
* gst/avi/gstavimux.c: Add Dirac encodingDavid Schleef2008-02-281-0/+5
| | | | | Original commit message from CVS: * gst/avi/gstavimux.c: Add Dirac encoding
* gst/avi/gstavidemux.c: Revert patch which sends timestamps only on ↵Jan Schmidt2008-02-111-13/+3
| | | | | | | | | | keyframes, as it breaks playback with current gst-... Original commit message from CVS: * gst/avi/gstavidemux.c: Revert patch which sends timestamps only on keyframes, as it breaks playback with current gst-ffmpeg. Fixes: #515562
* gst/avi/gstavidemux.c: If there's no entries in the subindex, don't try to ↵Edward Hervey2008-02-041-0/+4
| | | | | | | | | do anything stupid, just return. Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex): If there's no entries in the subindex, don't try to do anything stupid, just return.
* Add documentation for avisubtitle and change class toThijs Vermeir2008-02-011-3/+20
| | | | | | | | | | Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * gst/avi/gstavisubtitle.c: Add documentation for avisubtitle and change class to Codec/Parser/Subtitle
* gst/avi/gstavidemux.c: GStreamer timestamps are PTS values while AVI only ↵Wim Taymans2008-01-291-3/+13
| | | | | | | | | | | knows about DTS timestamps. Make sure we on... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data): GStreamer timestamps are PTS values while AVI only knows about DTS timestamps. Make sure we only copy the DTS as the buffer timestamp when we are dealing with a key frame.
* gst/: Initialise variables to work around (false) 'foo might be used ↵Tim-Philipp Müller2008-01-141-1/+3
| | | | | | | | | | uninitialized in this function' warnings by gcc-... Original commit message from CVS: * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send): Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-3.3.3 (#509298).
* gst/avi/gstavi.c: increase rank because no known issues anymore ...Thijs Vermeir2008-01-022-2/+21
| | | | | | | | Original commit message from CVS: * gst/avi/gstavi.c: increase rank because no known issues anymore ... * gst/avi/gstavisubtitle.c: send subtitle name to the srcpad
* Fix 'xyz may be used uninitialized' compiler warnings caused by broken ↵Tim-Philipp Müller2007-12-261-1/+3
| | | | | | | | | | | | g_assert_not_reached() macro in GLib-2.15.x (i... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_loop): * gst/wavparse/gstwavparse.c: (gst_wavparse_chain): * sys/ximage/gstximagesrc.c: (composite_pixel): Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x (it's not really nice to abort in any case). Fixes #505745.
* Add seeking support for avi subtitleThijs Vermeir2007-12-181-1/+24
| | | | | | | Original commit message from CVS: * gst/avi/gstavisubtitle.c: * tests/check/elements/avisubtitle.c: Add seeking support for avi subtitle
* gst/avi/gstavisubtitle.c: Detect other UTF byte order markers and convert to ↵Tim-Philipp Müller2007-12-181-16/+73
| | | | | | | | | | | UTF-8 as appropriate. Original commit message from CVS: * gst/avi/gstavisubtitle.c: (IS_BOM_UTF8), (IS_BOM_UTF16_BE), (IS_BOM_UTF16_LE), (IS_BOM_UTF32_BE), (IS_BOM_UTF32_LE), (gst_avi_subtitle_extract_file), (gst_avi_subtitle_parse_gab2_chunk): Detect other UTF byte order markers and convert to UTF-8 as appropriate.
* gst/avi/gstavisubtitle.*: Refactor a bit; fix name extraction; don't assume ↵Tim-Philipp Müller2007-12-182-94/+147
| | | | | | | | | | | | | | | | all the data in the chunk is actually sub... Original commit message from CVS: * gst/avi/gstavisubtitle.c: (src_template), (gst_avi_subtitle_extract_utf8_file), (gst_avi_subtitle_parse_gab2_chunk), (gst_avi_subtitle_chain), (gst_avi_subtitle_base_init), (gst_avi_subtitle_class_init), (gst_avi_subtitle_init), (gst_avi_subtitle_change_state): * gst/avi/gstavisubtitle.h: Refactor a bit; fix name extraction; don't assume all the data in the chunk is actually subtitle data, there may be padding at the end; fix GST_ELEMENT_ERROR usage; store extracted subtitle file so it's there to send again after a seek (for future use).
* Add avi subtitle element for bug #442034. Need seeking support and more ↵Thijs Vermeir2007-12-184-3/+252
| | | | | | | | | | | | | | | support for character conversion. Original commit message from CVS: * gst/avi/Makefile.am: * gst/avi/gstavi.c: * gst/avi/gstavisubtitle.c: * gst/avi/gstavisubtitle.h: * tests/check/Makefile.am: * tests/check/elements/avisubtitle.c: * win32/common/config.h: Add avi subtitle element for bug #442034. Need seeking support and more support for character conversion.
* gst/avi/gstavimux.c: Fix regression in stream numbering. Fixes #502655.Mark Nauwelaerts2007-12-111-1/+7
| | | | | | | Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw skynet be> * gst/avi/gstavimux.c: (gst_avi_mux_start_file): Fix regression in stream numbering. Fixes #502655.
* gst/: Return the result in _activate_pull(). Don't ref element there.Stefan Kost2007-11-131-6/+5
| | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/wavparse/gstwavparse.c: Return the result in _activate_pull(). Don't ref element there.
* gst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that ↵Stefan Kost2007-11-121-0/+5
| | | | | | | | | | 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-12/+9
| | | | | | | | | | 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.
* Add some debug and sync tests with the fix.Stefan Kost2007-10-191-0/+2
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * tests/check/elements/avimux.c: Add some debug and sync tests with the fix.
* gst/avi/gstavimux.*: Also save codec data for audio streams. Fixes #482495.Stefan Kost2007-10-022-6/+37
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Also save codec data for audio streams. Fixes #482495.
* gst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1".Stefan Kost2007-10-021-10/+24
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1". Add support for muxing aac - work in progress (see #482495).
* gst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.Stefan Kost2007-09-101-5/+8
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.
* gst/avi/gstavidemux.c: Implement seek-query.Stefan Kost2007-09-031-0/+26
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Implement seek-query.
* gst/avi/gstavimux.c: Fix ODML index tag numbering. Fixes #463624.Mark Nauwelaerts2007-08-051-2/+2
| | | | | | | Original commit message from CVS: patch by: Mark Nauwelaerts <manauw@skynet.be> * gst/avi/gstavimux.c: Fix ODML index tag numbering. Fixes #463624.
* gst/avi/gstavidemux.*: Parse subtitle text streams instead of erroring out ↵Tim-Philipp Müller2007-05-302-2/+22
| | | | | | | | | | | (#442034). Still needs a parser for the su... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_base_init), (gst_avi_demux_reset), (gst_avi_demux_parse_stream): * gst/avi/gstavidemux.h: Parse subtitle text streams instead of erroring out (#442034). Still needs a parser for the subtitles to actually show up.
* gst/avi/gstavidemux.c: Make _push_event() return TRUE if the event could be ↵Tim-Philipp Müller2007-05-301-8/+9
| | | | | | | | | | | | pushed on at least one pad and not only i... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_push_event), (gst_avi_demux_loop): Make _push_event() return TRUE if the event could be pushed on at least one pad and not only if it could be pushed on all pads, otherwise we'll end up posting an error message on EOS if one or more source pads are not connected.
* gst/: Fix some compiler warnings. Fixes #428182.Peter Kjellerstedt2007-04-101-1/+1
| | | | | | | | | | | | | | Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index): * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode), (gst_rtp_speex_depay_setcaps): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send): Fix some compiler warnings. Fixes #428182.
* gst/avi/gstavidemux.c: Don't leave the offsets defined by upstream element ↵Julien Moutte2007-04-051-0/+2
| | | | | | | | | | | | on the compressed data buffer we are pushi... Original commit message from CVS: 2007-04-05 Julien MOUTTE <julien@moutte.net> * gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry): Don't leave the offsets defined by upstream element on the compressed data buffer we are pushing downstream. Make them GST_BUFFER_OFFSET_NONE.
* gst/avi/: Don't abort on out-of-memory. Use stream-nr as unsigned integer only.Stefan Kost2007-04-042-41/+77
| | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/README: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_header_pull), (gst_avi_demux_combine_flows), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data): Don't abort on out-of-memory. Use stream-nr as unsigned integer only.
* Printf format fixes; also add some missing quotes in translated strings. ↵Tim-Philipp Müller2007-03-101-10/+10
| | | | | | | | | | | | Fixes #416728 and #416727. Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index): * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_grab_frame): Printf format fixes; also add some missing quotes in translated strings. Fixes #416728 and #416727.
* gst/avi/gstavidemux.c: Fix stream position reporting after a seek. Fixes ↵Wim Taymans2007-03-091-0/+2
| | | | | | | | | | | #416445. Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_push_event), (gst_avi_demux_do_seek), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_chain): Fix stream position reporting after a seek. Fixes #416445.