summaryrefslogtreecommitdiffstats
path: root/gst/matroska
Commit message (Collapse)AuthorAgeFilesLines
...
* ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',')Stéphane Loeuillet2005-01-071-1/+3
| | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',') * gst/matroska/matroska-mux.c: (gst_matroska_mux_get_type), (gst_matroska_mux_reset): Fix typo + add FIXME about old "x-gst-metadata" crap
* Remove time-based check for first vorbis packet altogether, as it was a hack ↵Maciej Katafiasz2004-12-281-3/+1
| | | | | | | | since day one (Arwed who wrote it says s... Original commit message from CVS: Remove time-based check for first vorbis packet altogether, as it was a hack since day one (Arwed who wrote it says so)...
* Ooops, fix previous commit. Never trust file names I guess...Maciej Katafiasz2004-12-281-0/+5
| | | | | Original commit message from CVS: Ooops, fix previous commit. Never trust file names I guess...
* Fix Vorbis streams failing to decode in some files, where cluster_time isn't ↵Maciej Katafiasz2004-12-282-4/+8
| | | | | | | | 0, because then it doesn't send codec_pr... Original commit message from CVS: Fix Vorbis streams failing to decode in some files, where cluster_time isn't 0, because then it doesn't send codec_priv before actual data.
* gst/matroska/matroska-demux.c: Save position, so that queries give proper ↵Ronald S. Bultje2004-12-231-0/+1
| | | | | | | | | | return values. Don't know how this could ev... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Save position, so that queries give proper return values. Don't know how this could ever have worked before...
* gst/matroska/matroska-demux.c: That was very stupid.Ronald S. Bultje2004-12-181-4/+2
| | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_sint): That was very stupid.
* gst/matroska/matroska-demux.c: Fix possible crasher.Ronald S. Bultje2004-12-181-1/+2
| | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Fix possible crasher.
* gst/matroska/matroska-demux.c: Lace sizes can be zero.Ronald S. Bultje2004-12-181-9/+12
| | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_uint), (gst_matroska_ebmlnum_sint), (gst_matroska_demux_parse_blockgroup): Lace sizes can be zero.
* gst/matroska/matroska-demux.c: Some MPEG-AAC hacks, because else it doesn't ↵Ronald S. Bultje2004-12-161-2/+85
| | | | | | | | | work... Original commit message from CVS: * gst/matroska/matroska-demux.c: (aac_rate_idx), (aac_profile_idx), (gst_matroska_demux_audio_caps): Some MPEG-AAC hacks, because else it doesn't work...
* gst/matroska/matroska-demux.c: Don't set DEFAULT, unsupported - makes length ↵Ronald S. Bultje2004-12-081-6/+0
| | | | | | | | | | display incorrectly in some cases. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_src_query): Don't set DEFAULT, unsupported - makes length display incorrectly in some cases.
* set correct buffer durations in mp3parse, set default_duration in ↵Arwed v. Merkatz2004-12-061-0/+6
| | | | | | | matroskamux for mpeg1 audio Original commit message from CVS: set correct buffer durations in mp3parse, set default_duration in matroskamux for mpeg1 audio
* gst/matroska/: Disgustingly evil hack for working around INTERRUPT events ↵Ronald S. Bultje2004-12-033-7/+77
| | | | | | | | | | | | | | | | | | | and their extremely annoying habit of being... Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_class_init), (gst_ebml_read_init), (gst_ebml_read_use_event), (gst_ebml_read_element_id), (gst_ebml_peek_id), (gst_ebml_read_seek), (gst_ebml_read_skip), (gst_ebml_read_reserve), (gst_ebml_read_buffer), (gst_ebml_read_master): * gst/matroska/ebml-read.h: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_contents), (gst_matroska_demux_loop_stream), (gst_matroska_demux_audio_caps): Disgustingly evil hack for working around INTERRUPT events and their extremely annoying habit of being a pain in the ass. We simply peek a cluster before reading any of it.
* gst/matroska/matroska-demux.c: Signal no-more-pads (so it works in playbin).Ronald S. Bultje2004-11-111-14/+17
| | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream): Signal no-more-pads (so it works in playbin).
* gst/wavparse/gstwavparse.c: add ATRAC3 to STATIC CAPS to fix a warningStéphane Loeuillet2004-10-061-1/+1
| | | | | | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: add ATRAC3 to STATIC CAPS to fix a warning * gst/matroska/ebml-read.c: * gst-libs/gst/riff/riff-read.c: fix typos
* ext/dvdread/dvdreadsrc.c: Fix. Don't do one big huge loop around the whole ↵Ronald S. Bultje2004-10-011-50/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DVD, that will cache all data and thus eat... Original commit message from CVS: * ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init), (dvdreadsrc_init), (dvdreadsrc_dispose), (dvdreadsrc_set_property), (dvdreadsrc_get_property), (_open), (_seek), (_read), (dvdreadsrc_get), (dvdreadsrc_open_file), (dvdreadsrc_change_state): Fix. Don't do one big huge loop around the whole DVD, that will cache all data and thus eat sizeof(dvd) (several GB) before we see something. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Actually NULL'ify event after using it. * gst/matroska/ebml-read.c: (gst_ebml_read_use_event), (gst_ebml_read_handle_event), (gst_ebml_read_element_id), (gst_ebml_read_element_length), (gst_ebml_read_element_data), (gst_ebml_read_seek), (gst_ebml_read_skip): Handle events. * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init), (gst_dvd_demux_init), (gst_dvd_demux_get_audio_stream), (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_plugin_init): Fix timing (this will probably break if I seek using menus, but I didn't get there yet). VOBs and normal DVDs should now work. Add a mpeg2-only pad with high rank so this get autoplugged for MPEG-2 movies. * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_base_init), (gst_mpeg_demux_class_init), (gst_mpeg_demux_init), (gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_get_video_stream), (gst_mpeg_demux_get_audio_stream), (gst_mpeg_demux_get_private_stream), (gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes), (gst_mpeg_demux_plugin_init): Use this as second rank for MPEG-1 and MPEG-2. Still use this for MPEG-1 but use dvddemux for MPEG-2. * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init), (gst_mpeg_parse_init), (gst_mpeg_parse_new_pad), (gst_mpeg_parse_parse_packhead): Timing. Only add pad template if it exists. Add sink template from class and not from ourselves. This means we will always use the correct sink template even if it is not the one defined in this file.
* ext/dirac/: Do something. Don't actually know if this works because I don't ↵Ronald S. Bultje2004-09-231-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have a demuxer yet. Original commit message from CVS: * ext/dirac/Makefile.am: * ext/dirac/gstdirac.cc: * ext/dirac/gstdiracdec.cc: * ext/dirac/gstdiracdec.h: Do something. Don't actually know if this works because I don't have a demuxer yet. * ext/gsm/gstgsmdec.c: (gst_gsmdec_getcaps): Add channels=1 to caps returned from _getcaps(). * ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_get_type), (gst_ogm_video_parse_get_type), (gst_ogm_audio_parse_base_init), (gst_ogm_video_parse_base_init), (gst_ogm_parse_init), (gst_ogm_audio_parse_init), (gst_ogm_video_parse_init), (gst_ogm_parse_sink_convert), (gst_ogm_parse_chain), (gst_ogm_parse_change_state): Separate between audio/video so ogmaudioparse actually uses the audio pad templates. Both audio and video work now, including autoplugging. Also use sometimes-srcpad hack. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Handle events better. Don't hang on infinite loops. * gst/avi/gstavidemux.c: (gst_avi_demux_class_init), (gst_avi_demux_init), (gst_avi_demux_reset), (gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query), (gst_avi_demux_stream_header), (gst_avi_demux_stream_data), (gst_avi_demux_change_state): * gst/avi/gstavidemux.h: Improve A/V sync. Still not perfect. * gst/matroska/ebml-read.c: (gst_ebml_read_seek), (gst_ebml_read_skip): Handle events better. * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event), (gst_qtdemux_loop_header), (qtdemux_parse_trak), (qtdemux_audio_caps): Add IMA4. Improve event handling. Save offset after a seek when the headers are at the end of the file so that we don't end up in an infinite loop. * gst/typefind/gsttypefindfunctions.c: (qt_type_find): Add low-priority typefind support for files with no length.
* use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and ↵Arwed v. Merkatz2004-09-152-10/+7
| | | | | | | audio/x-raw-tta Original commit message from CVS: use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta
* Write meta-seek information (seek heads).Arwed v. Merkatz2004-09-092-1/+70
| | | | | Original commit message from CVS: Write meta-seek information (seek heads).
* Write multiple blocks/frames per cluster.Arwed v. Merkatz2004-09-092-10/+43
| | | | | Original commit message from CVS: Write multiple blocks/frames per cluster.
* Create cue entries for audio only files.Arwed v. Merkatz2004-09-011-4/+17
| | | | | | Original commit message from CVS: Create cue entries for audio only files. Fix writing of CUETIME, wrongly used gst_ebml_write_date.
* Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION ↵Arwed v. Merkatz2004-09-015-9/+77
| | | | | | | for TTA audio, write BLOCKDURATION if known. Original commit message from CVS: Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA audio, write BLOCKDURATION if known.
* ext/alsa/: Re-commit ALSA switches.Ronald S. Bultje2004-08-311-1/+2
| | | | | | | | | | | | | | | | Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list): * ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new): Re-commit ALSA switches. * gst/adder/gstadder.c: (gst_adder_loop): 64-bit fix (#151416). * gst/debug/progressreport.c: (gst_progressreport_report): 64-bit fix (#151419). * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_contents): 64-bit fix (#151420). * gst/playback/test3.c: (update_scale): 64-bit fix (#151421).
* Mux video/x-divx and video/x-xvid in VFW compatibility mode so it actually worksArwed v. Merkatz2004-08-272-4/+46
| | | | | Original commit message from CVS: Mux video/x-divx and video/x-xvid in VFW compatibility mode so it actually works
* Handle EOS correctly.Arwed v. Merkatz2004-08-271-2/+6
| | | | | Original commit message from CVS: Handle EOS correctly.
* Fix byte order reversion for writing ebml floats.Arwed v. Merkatz2004-08-263-12/+65
| | | | | | | Original commit message from CVS: Fix byte order reversion for writing ebml floats. Write segment duration and muxing application in matroska. Added TTA codec to the list of supported codecs to mux into matroska.
* Interpret BLOCKDURATION and set buffer duration accordingly, enable demuxing ↵Arwed v. Merkatz2004-08-252-30/+54
| | | | | | | | of TTA audio from matroska, fixes bugs #... Original commit message from CVS: Interpret BLOCKDURATION and set buffer duration accordingly, enable demuxing of TTA audio from matroska, fixes bugs #148950 and #148951.
* Send vorbis headers at the beginning of a stream, fixes bug #141554.Arwed v. Merkatz2004-08-251-0/+25
| | | | | Original commit message from CVS: Send vorbis headers at the beginning of a stream, fixes bug #141554.
* more working pluginsSteve Lhomme2004-07-271-1/+1
| | | | | Original commit message from CVS: more working plugins
* pixel aspect ratio handlingThomas Vander Stichele2004-07-271-14/+14
| | | | | Original commit message from CVS: pixel aspect ratio handling
* rename GStreamer-0.8.lib to libgstreamer.libSteve Lhomme2004-07-271-2/+2
| | | | | Original commit message from CVS: rename GStreamer-0.8.lib to libgstreamer.lib
* avoid problems with math.h, fix release dependancySteve Lhomme2004-07-271-3/+3
| | | | | Original commit message from CVS: avoid problems with math.h, fix release dependancy
* remove unused .def filesSteve Lhomme2004-07-252-7/+2
| | | | | Original commit message from CVS: remove unused .def files
* Copy the files where needed after building, cleaner projectsSteve Lhomme2004-07-251-3/+8
| | | | | Original commit message from CVS: Copy the files where needed after building, cleaner projects
* Fix some 64 bits constants to be glib friendlySteve Lhomme2004-07-241-5/+6
| | | | | Original commit message from CVS: Fix some 64 bits constants to be glib friendly
* Add the preliminary canvas to build plugins on Win32Steve Lhomme2004-07-242-0/+175
| | | | | Original commit message from CVS: Add the preliminary canvas to build plugins on Win32
* ... and keep playing of courseThomas Vander Stichele2004-07-181-0/+2
| | | | | Original commit message from CVS: ... and keep playing of course
* make log less verboseThomas Vander Stichele2004-07-182-0/+17
| | | | | Original commit message from CVS: make log less verbose
* add debug categories to matroskaThomas Vander Stichele2004-07-182-0/+16
| | | | | Original commit message from CVS: add debug categories to matroska
* gst-libs/gst/riff/riff-media.c: mp42/mp43 (no caps) exist too.Ronald S. Bultje2004-07-151-2/+6
| | | | | | | | | | | | | | Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): mp42/mp43 (no caps) exist too. * gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps): Set pixel_width/height; we've got them in-caps. * gst/typefind/gsttypefindfunctions.c: (plugin_init): * gst/wavparse/gstwavparse.c: (plugin_init): Both are valid primary. * sys/oss/gstossmixer.c: Remove i18n hack and enable translations.
* first batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-212-4/+4
| | | | | | | | | foreign compilers (forte) and gtk-doc Original commit message from CVS: first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
* gst/matroska/: Basic tag reading support.Ronald S. Bultje2004-05-012-2/+184
| | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_metadata): * gst/matroska/matroska-ids.h: Basic tag reading support.
* gst/matroska/matroska-demux.c: Really detect ac-3 audio.Ronald S. Bultje2004-05-011-1/+3
| | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps): Really detect ac-3 audio. * gst/typefind/gsttypefindfunctions.c: (matroska_type_find): really detect matroska files (off-by-1).
* gst/: Add MS RLE support. I added some functions to read out strf chunks ↵Ronald S. Bultje2004-04-162-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into strf chunks and the data behind it. Thi... Original commit message from CVS: reviewed by: <delete if not using a buddy> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps): * gst-libs/gst/riff/riff-media.h: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids): * gst-libs/gst/riff/riff-read.h: * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. This is usually color palettes (as in RLE, but also in 8-bit RGB). Also use those during caps creation. Lastly, add ADPCM (similar to wavparse - which should eventually be rifflib based). * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), (gst_matroska_demux_init), (gst_matroska_demux_reset): * gst/matroska/matroska-demux.h: Remove placeholders for some prehistoric tagging system. Didn't add support for any tag system really anyway. * gst/qtdemux/qtdemux.c: Add support for audio/x-m4a (MPEG-4) through spider. * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt), (gst_wavparse_loop): ADPCM support (#135862). Increase max. buffer size because we cannot split buffers for ADPCM (screws references) and I've seen files with 2048 byte chunks. 4096 seems safe for now.
* ext/mad/gstid3tag.c: add missing 'new_media' argument (fixes #138168)Benjamin Otte2004-04-031-1/+3
| | | | | | | | | | Original commit message from CVS: reviewed by Benjamin Otte <otte@gnome.org> * ext/mad/gstid3tag.c: (gst_id3_tag_handle_event): add missing 'new_media' argument (fixes #138168) * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): add vararg terminator (fixes #138169)
* don't mix tabs and spacesThomas Vander Stichele2004-03-154-1363/+1366
| | | | | Original commit message from CVS: don't mix tabs and spaces
* *.h: Revert indentingJohan Dahlin2004-03-156-152/+200
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-1411-2015/+1849
| | | | | Original commit message from CVS: gst-indent
* gst/: First batch implementing audio and video codec tags in demuxers.Julien Moutte2004-02-231-10/+35
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-02-23 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_iavs_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps), (gst_riff_create_iavs_template_caps): * gst-libs/gst/riff/riff-media.h: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init), (gst_asf_demux_audio_caps), (gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps), (gst_asf_demux_add_video_stream): * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): First batch implementing audio and video codec tags in demuxers.
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-022-18/+18
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* gst/: Fix event handling.Ronald S. Bultje2004-01-301-16/+20
| | | | | | | | | | | Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head), (gst_riff_read_seek): * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_seek): Fix event handling.