summaryrefslogtreecommitdiffstats
path: root/gst/avi
Commit message (Collapse)AuthorAgeFilesLines
* gst/avi/gstavimux.*: Totally remove the internal taglists and fully use ↵Stefan Kost2008-12-162-32/+8
| | | | | | | | | tagsetter. Original commit message from CVS: * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Totally remove the internal taglists and fully use tagsetter.
* gst/avi/gstavimux.c: Instead of filtering wrongly just use the mergemode. ↵Stefan Kost2008-12-151-13/+7
| | | | | | | | | | Applications is use KEEP_ALL if they want t... Original commit message from CVS: * gst/avi/gstavimux.c: Instead of filtering wrongly just use the mergemode. Applications is use KEEP_ALL if they want to supress tag-events. Fixes #563221 for avi for real (I hope). Everyone chime in, before I fix the others.
* gst/avi/gstavidemux.c: More logging.Stefan Kost2008-12-092-13/+32
| | | | | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: More logging. * gst/avi/gstavimux.c: Handle more metadata fields. Better estimate of metadata size. Don't merge received tags, if application has specified tags using GST_TAG_MERGE_REPLACE_ALL. Fixes #563221 for avi.
* gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes ↵Stefan Kost2008-11-111-1/+1
| | | | | | | | #560155. Original commit message from CVS: * gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes #560155.
* Don't install static libs for plugins. Fixes #550851 for -good.Stefan Kost2008-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/Makefile.am: * ext/annodex/Makefile.am: * ext/cairo/Makefile.am: * ext/dv/Makefile.am: * ext/esd/Makefile.am: * ext/flac/Makefile.am: * ext/gconf/Makefile.am: * ext/gdk_pixbuf/Makefile.am: * ext/hal/Makefile.am: * ext/jpeg/Makefile.am: * ext/ladspa/Makefile.am: * ext/libcaca/Makefile.am: * ext/libmng/Makefile.am: * ext/libpng/Makefile.am: * ext/mikmod/Makefile.am: * ext/pulse/Makefile.am: * ext/raw1394/Makefile.am: * ext/shout2/Makefile.am: * ext/soup/Makefile.am: * ext/speex/Makefile.am: * ext/taglib/Makefile.am: * ext/wavpack/Makefile.am: * gst/alpha/Makefile.am: * gst/apetag/Makefile.am: * gst/audiofx/Makefile.am: * gst/auparse/Makefile.am: * gst/autodetect/Makefile.am: * gst/avi/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/equalizer/Makefile.am: * gst/flx/Makefile.am: * gst/goom/Makefile.am: * gst/goom2k1/Makefile.am: * gst/icydemux/Makefile.am: * gst/id3demux/Makefile.am: * gst/interleave/Makefile.am: * gst/law/Makefile.am: * gst/level/Makefile.am: * gst/matroska/Makefile.am: * gst/median/Makefile.am: * gst/monoscope/Makefile.am: * gst/multifile/Makefile.am: * gst/multipart/Makefile.am: * gst/oldcore/Makefile.am: * gst/qtdemux/Makefile.am: * gst/replaygain/Makefile.am: * gst/rtp/Makefile.am: * gst/rtsp/Makefile.am: * gst/smpte/Makefile.am: * gst/spectrum/Makefile.am: * gst/udp/Makefile.am: * gst/videobox/Makefile.am: * gst/videocrop/Makefile.am: * gst/videofilter/Makefile.am: * gst/videomixer/Makefile.am: * gst/wavenc/Makefile.am: * gst/wavparse/Makefile.am: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: * sys/oss/Makefile.am: * sys/osxaudio/Makefile.am: * sys/osxvideo/Makefile.am: * sys/sunaudio/Makefile.am: * sys/v4l2/Makefile.am: * sys/waveform/Makefile.am: * sys/ximage/Makefile.am: Don't install static libs for plugins. Fixes #550851 for -good.
* gst/avi/gstavidemux.c: Invert other uncompressed RGB formats. Fixes #558554.Nick Haddad2008-10-311-5/+17
| | | | | | | | | Original commit message from CVS: Patch by: Nick Haddad <nick at haddads dot net> * gst/avi/gstavidemux.c: (gst_avi_demux_is_uncompressed), (gst_avi_demux_invert), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data): Invert other uncompressed RGB formats. Fixes #558554.
* gst/avi/gstavimux.c: Fix VPRP chunk setup in avimux.Mark Nauwelaerts2008-10-211-4/+5
| | | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: Fix VPRP chunk setup in avimux. Fixes: #556010 Patch By: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
* gst/avi/gstavidemux.c: Skip entries for streams that don't have a output pad ↵Edward Hervey2008-10-151-0/+6
| | | | | | | | | | yet, thereby avoiding calling pad functi... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_stream_scan): Skip entries for streams that don't have a output pad yet, thereby avoiding calling pad functions with a NULL pad. Fixes #556424
* gst/avi/gstavidemux.c: Reset header state. Fixes #555321.Wim Taymans2008-10-081-0/+1
| | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_reset), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index): Reset header state. Fixes #555321.
* gst/avi/gstavidemux.*: For timestamping audio packets we need to take into ↵Wim Taymans2008-10-082-5/+33
| | | | | | | | | | | | account the amount of blocks in one entry ... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index): * gst/avi/gstavidemux.h: For timestamping audio packets we need to take into account the amount of blocks in one entry using the blockalign. Fixes some sync issues with zero-padded audio blocks in the beginning of avi files.
* Make stuff compile with GST_DISABLE_GST_DEBUG.Tim-Philipp Müller2008-08-301-5/+3
| | | | | | | | | | | | | Original commit message from CVS: * ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create): * gst/alpha/gstalpha.c: (gst_alpha_get_unit_size): * gst/audiofx/audiocheblimit.c: (generate_coefficients): * gst/avi/gstavidemux.c: (gst_avi_demux_src_convert): * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_element_length): * gst/matroska/matroska-demux.c: (gst_matroska_demux_check_subtitle_buffer): Make stuff compile with GST_DISABLE_GST_DEBUG.
* 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.