summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux
AgeCommit message (Collapse)AuthorFilesLines
2004-04-20configure.ac: bump required gstreamer version to 0.8.1.1 because of ↵David Schleef1-13/+14
following changes [--ds] Original commit message from CVS: reviewed by David Schleef * configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds] * gst-libs/gst/riff/riff-read.c: Include gst/gstutils.h. (gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list) (gst_riff_read_header): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h. (mp3_type_find): Use GST_READ_UINT* macros to access possibly unaligned memory. (mp3_type_find, mpeg1_parse_header, qt_type_find) (speex_type_find): Likewise * gst/tags/gstvorbistag.c: (ADVANCE): Likewise * gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc). (QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET) (QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET) (gst_qtdemux_loop_header, gst_qtdemux_loop_header) (qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type) (qtdemux_tree_get_sibling_by_type): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk): Likewise. * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead) (gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Likewise. * gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA) (gst_mpeg2subt_chain_subtitle): Likewise. * gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq) (gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain): Likewise. * gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info): Likewise. * gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes): Likewise. * gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint): Likewise.
2004-04-20gst/qtdemux/qtdemux.c: A number of new features and hacks to extract the ↵David Schleef1-16/+133
esds atom and put it into the caps. (bug #1... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event), (qtdemux_parse), (qtdemux_type_get), (qtdemux_dump_mvhd), (qtdemux_dump_tkhd), (qtdemux_dump_stsd), (qtdemux_dump_unknown), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): A number of new features and hacks to extract the esds atom and put it into the caps. (bug #137724)
2004-04-19ext/gsm/gstgsmdec.c: Fix capsnego, simplify chain function slightly.Ronald S. Bultje1-2/+2
Original commit message from CVS: * ext/gsm/gstgsmdec.c: (gst_gsmdec_init), (gst_gsmdec_getcaps), (gst_gsmdec_link), (gst_gsmdec_chain): Fix capsnego, simplify chain function slightly. * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Add GSM.
2004-04-16gst/: Add MS RLE support. I added some functions to read out strf chunks ↵Ronald S. Bultje1-2/+2
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.
2004-03-24gst/qtdemux/qtdemux.c: Fix debugging messages. Divide the chunk size by the ↵David Schleef1-143/+156
compression ratio (needed for MACE audio) Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event), (gst_qtdemux_loop_header), (qtdemux_parse_moov), (qtdemux_parse), (qtdemux_node_dump_foreach), (qtdemux_dump_mvhd), (qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd), (qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss), (qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd), (qtdemux_parse_tree), (qtdemux_parse_trak): Fix debugging messages. Divide the chunk size by the compression ratio (needed for MACE audio)
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-369/+370
Original commit message from CVS: don't mix tabs and spaces
2004-03-15*.h: Revert indentingJohan Dahlin1-30/+27
Original commit message from CVS: * *.h: Revert indenting
2004-03-14gst-indentThomas Vander Stichele2-965/+1108
Original commit message from CVS: gst-indent
2004-03-14gst/qtdemux/qtdemux.c: Fix for obvious mistake, where we first shift the ↵Ronald S. Bultje1-2/+3
offset and then read a samplesize element as... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Fix for obvious mistake, where we first shift the offset and then read a samplesize element assuming the old offset. Note that this part still has something weird, i.e. my movies containing those don't actually play well, but at least there's something that looks like sound now.
2004-03-07gst/qtdemux/qtdemux.c: Added Cinepak format (bug #136470)David Schleef1-1/+2
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Added Cinepak format (bug #136470)
2004-03-07gst/qtdemux/qtdemux.c: Fix crash (j might be greater than n_samples, in ↵Ronald S. Bultje1-5/+7
which case we're writing outside the allocate... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Fix crash (j might be greater than n_samples, in which case we're writing outside the allocated space for the array) and memleak.
2004-03-06ext/faad/gstfaad.c: Fix negotiation.David Schleef1-2/+5
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_srcgetcaps), (gst_faad_chain): Fix negotiation. * ext/librfb/gstrfbsrc.c: (gst_rfbsrc_handle_src_event): Add key and button events. * gst-libs/gst/floatcast/floatcast.h: Fix a minor bug in this dung heap of code. * gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc.in: gstgconf depends on gconf * gst-libs/gst/gconf/gstreamer-gconf.pc.in: same * gst-libs/gst/play/play.c: (gst_play_pipeline_setup), (gst_play_video_fixate), (gst_play_audio_fixate): Add a fixate function to encourage better negotiation, particularly between audioconvert and osssink. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain): * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Make some debugging more important. * gst/typefind/gsttypefindfunctions.c: Fix mistake in flash typefinding. * gst/vbidec/vbiscreen.c: Add glib header * pkgconfig/gstreamer-play.pc.in: Depends on gst-interfaces.
2004-03-05gst/qtdemux/qtdemux.c: Add prototype code for handling seeking and querying.David Schleef1-0/+187
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_src_formats), (gst_qtdemux_src_convert), (gst_qtdemux_get_src_query_types), (gst_qtdemux_get_event_mask), (gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event), (gst_qtdemux_add_stream): Add prototype code for handling seeking and querying.
2004-02-24gst/qtdemux/qtdemux.c: Cleanups. Convert g_prints to GST_LOGs. Add qtdemux ↵David Schleef1-163/+149
debug category. Attempt to fix timestam... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (plugin_init), (gst_qtdemux_loop_header), (qtdemux_parse_moov), (qtdemux_parse), (qtdemux_node_dump_foreach), (qtdemux_dump_mvhd), (qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd), (qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss), (qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd), (qtdemux_parse_tree), (qtdemux_parse_trak): Cleanups. Convert g_prints to GST_LOGs. Add qtdemux debug category. Attempt to fix timestamp calculation.
2004-02-20ext/xine/: add first version of xine plugin wrapper. Currently only wraps theBenjamin Otte1-15/+24
Original commit message from CVS: 2004-02-20 Benjamin Otte <otte@gnome.org> * ext/xine/Makefile.am: * ext/xine/gstxine.h: * ext/xine/xine.c: * ext/xine/xineaudiodec.c: * ext/xine/xinecaps.c: add first version of xine plugin wrapper. Currently only wraps the QDM2 win32 DLL, and even that only in proof-of-concept quality. * configure.ac: * ext/Makefile.am: add xine plugin wrapper, disabled by default. Use --enable-xine to build. Note that it'll segfault on gst-register if you don't remove the goom and tvtime post plugins from xine. * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event), (qtdemux_parse), (qtdemux_parse_trak), (qtdemux_audio_caps): add extradata parsing for QDM2. change around debugging prints.
2004-02-03gst/qtdemux/qtdemux.c: set explicit caps before adding the element, so the ↵Benjamin Otte1-2/+2
autopluggers can plug correctly. Original commit message from CVS: 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream): set explicit caps before adding the element, so the autopluggers can plug correctly. * gst/typefind/gsttypefindfunctions.c: (mp3_type_find), (mpeg2_sys_type_find), (mpeg1_sys_type_find), (mpeg_video_type_find), (mpeg_video_stream_type_find), (dv_type_find): fix memleaks in typefind functions. gst_type_find_suggest takes a const argument.
2004-01-26Add SVQ3 specific flags to qtdemux and ffmpegJeremy Simon2-3/+56
Original commit message from CVS: 2004-01-26 Jeremy Simon <jesimon@libertysurf.fr> * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps), (gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt): * gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak), (qtdemux_video_caps): * gst/qtdemux/qtdemux.h: Add SVQ3 specific flags to qtdemux and ffmpeg
2004-01-15ext/esd/esdsink.c: Remove property that handles osssink fallback.David Schleef1-2/+3
Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_class_init): Remove property that handles osssink fallback. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init), (gst_audio_convert_getcaps): * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Add audio/x-qdm2 for QDM2 audio. * gst/sine/gstsinesrc.c: (gst_sinesrc_get): * gst/sine/gstsinesrc.h: Add example of how to implement tags. * gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps): Decrease minimum size to 16x16. * gst/wavparse/gstwavparse.c: Convert disabled pad template caps to new caps. * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get), (gst_xvimagesink_chain): Throw element error when display cannot be opened. Increase minimum framerate to 1.0. Check the data free function on a buffer to make sure it is the type we expect before manipulating it.
2004-01-11gst/qtdemux/qtdemux.c: fix audio chunk size/timestamp calculationBenjamin Otte1-5/+17
Original commit message from CVS: 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse_trak): fix audio chunk size/timestamp calculation
2004-01-03Change sink pad template caps to "video/quicktime"David Schleef1-1/+1
Original commit message from CVS: Change sink pad template caps to "video/quicktime"
2004-01-02Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef1-57/+3
Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2003-12-22gst/qtdemux/qtdemux.c: qtdemux requires bytestreamBenjamin Otte1-0/+3
Original commit message from CVS: 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/qtdemux/qtdemux.c: (plugin_init): qtdemux requires bytestream
2003-12-22Merge CAPS branchDavid Schleef1-206/+126
Original commit message from CVS: Merge CAPS branch
2003-12-18Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the ↵Ronald S. Bultje1-0/+3
autoplugger uses mad and not faad for mp3 decoding... Original commit message from CVS: Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-27Change everyone to video/x-msvideoDavid Schleef1-1/+1
Original commit message from CVS: Change everyone to video/x-msvideo
2003-11-27Added audio/x-m4a to the sink capsIain Holmes1-0/+5
Original commit message from CVS: Added audio/x-m4a to the sink caps
2003-11-24add a rank to allow autopluggingBenjamin Otte1-1/+1
Original commit message from CVS: add a rank to allow autoplugging
2003-11-10change video/x-jpeg to image/jpegDavid Schleef1-3/+5
Original commit message from CVS: change video/x-jpeg to image/jpeg
2003-11-07Do not demux only 2 trak atomsJeremy Simon1-4/+9
Original commit message from CVS: Do not demux only 2 trak atoms
2003-11-02Quicktime demuxer ported to new interfaceRonald S. Bultje1-22/+27
Original commit message from CVS: Quicktime demuxer ported to new interface
2003-10-29change gst/bytestream.h to gst/bytestream/bytestream.hDavid Schleef1-1/+1
Original commit message from CVS: change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-28merge TYPEFIND branch. Major changes:Benjamin Otte2-40/+4
Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - all typefind functions are in gst/typefind now - more typefind functions then before - some plugins might fail to compile now because I don't have them installed and they a) require bytestream or b) haven't had their typefind fixed. Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-08/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo1-2/+2
deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-01New typefind system: bytestream is now part of the core all plugins have ↵Ronald S. Bultje2-20/+22
been modified to use this new typefind syste... Original commit message from CVS: New typefind system: * bytestream is now part of the core * all plugins have been modified to use this new typefind system * asf typefinding added * mpeg video stream typefiding removed because it's broken * duplicate typefind entries removed * extra id3 typefinding added, because we've seen 4 types of files (riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs to work. Instead, I've added an id3 element and let it redo typefiding after the id3 header. this needs a hack because spider only typefinds once. We can remove this hack once spider supports multiple typefinds. * with all this, mp3 typefinding is semi-rewritten * id3 typefinding in flac/vorbis is removed, it's no longer needed * fixed spider and gst-typefind to use this, too. * Other general cleanups
2003-08-10Remove redundant plugindir definitionDavid Schleef1-1/+0
Original commit message from CVS: Remove redundant plugindir definition
2003-07-19+ the last of the float caps changes ... these are a bit more pervasiveLeif Johnson1-6/+2
Original commit message from CVS: + the last of the float caps changes ... these are a bit more pervasive
2003-07-06New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje1-77/+179
over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte1-26/+29
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-23"My way" turned out to cause seg faults. :) Fixed, and added more fourcc ↵David Schleef1-14/+26
to caps conversions. Original commit message from CVS: "My way" turned out to cause seg faults. :) Fixed, and added more fourcc to caps conversions.
2003-06-19Revert last two changes and do it my way. :)David Schleef1-41/+18
Original commit message from CVS: Revert last two changes and do it my way. :)
2003-06-19Support ISO-style variable argument macros.Brian Cameron1-0/+12
Original commit message from CVS: Support ISO-style variable argument macros.
2003-06-17which causes a segfault. I'm working on thatRonald S. Bultje1-24/+25
Original commit message from CVS: This adds width/height properties to qtdemux, so that it connects to ffdec_*... still doesn't work, because the buffer allocation in ffdec_ allocs too small buffers (edge emulation failure or so?), which causes a segfault. I'm working on that
2003-06-16Handle compressed headers. Fix inappropriate use of bytestream_flush().David Schleef2-105/+304
Original commit message from CVS: Handle compressed headers. Fix inappropriate use of bytestream_flush(). Code cleanup. Added getcaps and _link functions for src pads. Extract and set the size,rate,channels correctly. Fix some of the caps to agree with avidemux and/or ffmpeg.
2003-06-15Fix some of the fourcc to caps conversions. reenable setting of rate and n ↵David Schleef1-12/+26
channels on audio caps. Original commit message from CVS: Fix some of the fourcc to caps conversions. reenable setting of rate and n channels on audio caps.
2003-06-10Complete rewrite. Not finished, nothing to see here.David Schleef2-570/+1249
Original commit message from CVS: Complete rewrite. Not finished, nothing to see here.
2003-05-22Removed needless ; at the end of GST_PAD_TEMPLATE_FACTORY calls, which were ↵Brian Cameron1-2/+2
causing non-gcc compilers to break. Original commit message from CVS: Removed needless ; at the end of GST_PAD_TEMPLATE_FACTORY calls, which were causing non-gcc compilers to break.
2003-02-02Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer ↵David Schleef1-1/+1
conversion. Original commit message from CVS: Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
2003-01-18don't segfault when data didn't make it inThomas Vander Stichele1-2/+5
Original commit message from CVS: don't segfault when data didn't make it in
2003-01-10another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele1-1/+1
please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts