summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-01rework build; add translations for v4l2Thomas Vander Stichele1-1/+1
Original commit message from CVS: rework build; add translations for v4l2
2006-03-15gst/qtdemux/qtdemux.c: Let's not forget to chain up to the parent dispose.Edward Hervey1-0/+2
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_dispose): Let's not forget to chain up to the parent dispose.
2006-03-15gst/qtdemux/qtdemux.c: Series of memleak fixes:Edward Hervey1-10/+22
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init), (gst_qtdemux_init), (gst_qtdemux_dispose), (gst_qtdemux_add_stream), (qtdemux_parse_trak): Series of memleak fixes: - Unref the GstAdapter in finalize. - Use gst_pad_new_from_static_template(), shorter and safer. - Free unused QtDemuxStream when not used.
2006-03-09gst/qtdemux/qtdemux.c: Fix build with gcc-4.1 (#327355).Tim-Philipp Müller1-2/+1
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_send_event): Fix build with gcc-4.1 (#327355).
2006-03-08gst/qtdemux/qtdemux.c: Extract disc number and count from files that use ↵Tim-Philipp Müller1-0/+8
'disk' instead of 'disc' as node identifier ... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta): Extract disc number and count from files that use 'disk' instead of 'disc' as node identifier for that (fixes #332066).
2006-03-05gst/qtdemux/qtdemux.c: Add support for '3IVD' fourcc (#333403).Tim-Philipp Müller1-0/+4
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add support for '3IVD' fourcc (#333403).
2006-03-03gst/qtdemux/qtdemux.c: Use GST_WARNING instead of GST_ERROR for all the too ↵Edward Hervey1-14/+14
short/long atoms when parsing. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse), (qtdemux_parse_trak): Use GST_WARNING instead of GST_ERROR for all the too short/long atoms when parsing. Also let's be a bit less vulgar in our warning messages :)
2006-02-28gst/qtdemux/qtdemux.c: Can't divide through zero (suppress warning in case ↵Tim-Philipp Müller1-2/+5
of stream with one single still picture) (... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Can't divide through zero (suppress warning in case of stream with one single still picture) (see #327083)
2006-02-24gst/qtdemux/qtdemux.c: Add support for palettised Apple SMC videos (#327075, ↵Fabrizio Gennari1-1/+111
based on Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak), (qtdemux_video_caps): Add support for palettised Apple SMC videos (#327075, based on patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>).
2006-02-22gst/qtdemux/qtdemux.c: Add 'dvsd' and 'dv25' to list of possible fourcc ↵Edward Hervey1-0/+5
values for DV Video. Original commit message from CVS: Reviewed by : Edward Hervey <edward@fluendo.com> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video. Add image/png for fourcc 'png '
2006-02-17gst/qtdemux/qtdemux.c: Don't GST_LOG timestamps from nonexistent index ↵Tim-Philipp Müller1-8/+10
entries (#331582). Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie): Don't GST_LOG timestamps from nonexistent index entries (#331582).
2006-02-17gst/qtdemux/qtdemux.c: Check that the size of the returned buffer is of the ↵Edward Hervey1-0/+7
correct size because the parser assumes t... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_header): Check that the size of the returned buffer is of the correct size because the parser assumes that. Fixes #331543.
2006-02-16gst/qtdemux/qtdemux.c: Don't stop the task if the pad isn't linked.Edward Hervey1-6/+5
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_event), (gst_qtdemux_loop), (qtdemux_sink_activate_pull): Don't stop the task if the pad isn't linked.
2006-02-15gst/qtdemux/qtdemux.c: It appears 100% equals 1/1 and not 100/1 ...Tim-Philipp Müller1-1/+1
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_chain): It appears 100% equals 1/1 and not 100/1 ...
2006-02-15gst/qtdemux/qtdemux.c: When buffering MDAT data, show the user something is ↵Tim-Philipp Müller1-1/+20
happening by posting 'buffering' messages... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_post_buffering), (gst_qtdemux_chain): When buffering MDAT data, show the user something is happening by posting 'buffering' messages on the bus.
2006-02-14gst/qtdemux/qtdemux.*: Make push-based work if mdat atom is before moov atom.Edward Hervey1-17/+55
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_handle_src_query), (gst_qtdemux_change_state), (next_entry_size), (gst_qtdemux_chain): * gst/qtdemux/qtdemux.h: Make push-based work if mdat atom is before moov atom. Don't answer duration query. This should be transformed into replying FALSE to seek events.
2006-02-14gst/qtdemux/qtdemux.c: Handle the case where data atoms are before moov ↵Edward Hervey1-2/+13
atoms in push-based mode. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (next_entry_size), (gst_qtdemux_chain): Handle the case where data atoms are before moov atoms in push-based mode. Errors out gracefully.
2006-02-13gst/qtdemux/: QtDemux can now work push-based.Edward Hervey1-211/+452
Original commit message from CVS: * gst/qtdemux/Makefile.am: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state), (extract_initial_length_and_fourcc), (gst_qtdemux_loop_state_header), (gst_qtdemux_loop_state_movie), (gst_qtdemux_loop_header), (next_entry_size), (gst_qtdemux_chain), (qtdemux_sink_activate), (qtdemux_sink_activate_pull), (qtdemux_sink_activate_push), (qtdemux_parse_trak): * gst/qtdemux/qtdemux.h: QtDemux can now work push-based. It still needs some love for seeking.
2006-02-07remove unused varThomas Vander Stichele1-4/+0
Original commit message from CVS: remove unused var
2006-02-07gst/qtdemux/qtdemux.c: use the correct variable to check if we can calculate ↵Thomas Vander Stichele1-3/+6
the last chunk. Looks like an obvious b... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse_trak): use the correct variable to check if we can calculate the last chunk. Looks like an obvious bug, and makes the dump of offsets comparable to other tools
2006-02-07gst/qtdemux/qtdemux.c: clean up some debugging, using _OBJECT, moving ↵Thomas Vander Stichele1-9/+32
recurring messages to LOG level Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse_trak): clean up some debugging, using _OBJECT, moving recurring messages to LOG level
2006-02-06gst/qtdemux/qtdemux.*: Some QT demux loving.Wim Taymans1-50/+78
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event), (gst_qtdemux_loop_header), (qtdemux_inflate), (qtdemux_parse), (qtdemux_parse_trak), (qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num), (qtdemux_tag_add_gnre), (gst_qtdemux_handle_esds), (qtdemux_video_caps), (qtdemux_audio_caps): * gst/qtdemux/qtdemux.h: Some QT demux loving. Handle seeking in a less broken way. Fix AMR caps to match the AMR decoder. Set first timestamp on AMR samples to 0 for now. Remove some \n in DEBUG strings. Use _scale_int for maximum precision.
2006-01-26gst/qtdemux/qtdemux.c: Fix wrong memcpy source pointer.Tim-Philipp Müller1-3/+2
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Fix wrong memcpy source pointer.
2006-01-24gst/qtdemux/qtdemux.c: More coherent framerate setting on caps.Edward Hervey1-5/+9
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (gst_qtdemux_add_stream), (qtdemux_parse_trak): More coherent framerate setting on caps. If sample_size is available, use that for the samples' duration in the index. This enables single frame streams to work (and I imagine fixes some other cases). Tested on testsuite, no regression.
2006-01-23gst/qtdemux/qtdemux.c: Added codec recognition for: _ VP31 : video/x-vp3 _ ↵Edward Hervey1-0/+21
AVDJ : image/jpeg _ dvcp, dvc : video/x-d... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): Added codec recognition for: _ VP31 : video/x-vp3 _ AVDJ : image/jpeg _ dvcp, dvc : video/x-dv, systemstream=(boolean)false _ 0x6d730017 : audio/x-adpcm, layout=(string)quicktime
2006-01-21gst/qtdemux/qtdemux.c: 'twos' and 'sowt' fourcc can be 16bit or 8bit audio.Fabrizio1-21/+36
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_audio_caps): 'twos' and 'sowt' fourcc can be 16bit or 8bit audio. Fix 8bit case (#327133, based on patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>). Also, "G_LITTLE_ENDIAN" and "G_BIG_ENDIAN" are not valid literals for endianness in caps strings, only "LITTLE_ENDIAN" and "BIG_ENDIAN" are valid.
2006-01-18Ronald's patch applied. see bug #326318.Edgard Lima1-7/+20
Original commit message from CVS: Ronald's patch applied. see bug #326318.
2006-01-17gst/qtdemux/qtdemux.*: Fix seeking for quicktime files. Could still use some ↵Tim-Philipp Müller1-33/+44
more love and sophistication. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_send_event), (gst_qtdemux_handle_src_event), (gst_qtdemux_change_state), (gst_qtdemux_loop_header): * gst/qtdemux/qtdemux.h: Fix seeking for quicktime files. Could still use some more love and sophistication.
2006-01-11gst/qtdemux/qtdemux.c: Add support for Indeo3 video in Quicktime files.Edward Hervey1-0/+3
Original commit message from CVS: reviewed by: Edward Hervey <edward@fluendo.com> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add support for Indeo3 video in Quicktime files. Closes #326524
2005-12-19ext/swfdec/gstswfdec.c: Add debugging category and return GstFlowReturn in ↵Edward Hervey1-3/+10
the right places Original commit message from CVS: * ext/swfdec/gstswfdec.c: (gst_swfdec_class_init), (gst_swfdec_chain), (gst_swfdec_render): Add debugging category and return GstFlowReturn in the right places * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_link): Get something from the peer pad once we've checked if there is a peer pad. * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (qtdemux_tree_get_child_by_type), (qtdemux_parse_trak), (qtdemux_video_caps): Couple of fixes
2005-12-09ext/faad/gstfaad.c: Assume that an unknown channel mapping with 2 channels ↵Jan Schmidt1-18/+20
is stereo and play it that way instead of ... Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_chanpos_to_gst), (gst_faad_update_caps): Assume that an unknown channel mapping with 2 channels is stereo and play it that way instead of erroring. * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (gst_qtdemux_add_stream), (qtdemux_parse_trak): Handle e.g. jpeg streams with 0 duration frames as having 0 framerate. Debug fixes. Some 64 bit variable fixes
2005-12-07gst/qtdemux/qtdemux.c: Memleak fixes.Edward Hervey1-11/+15
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (gst_qtdemux_add_stream): Memleak fixes. Send out EOS for valid reasons (couldn't pull_range() from upstream for example).
2005-12-06expand tabsThomas Vander Stichele1-76/+76
Original commit message from CVS: expand tabs
2005-11-28ext/faad/gstfaad.c: Handle gracefully the consequence of "Maximum number of ↵Edward Hervey1-1/+4
scalefactor bands exceeded", which result... Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_srcgetcaps): Handle gracefully the consequence of "Maximum number of scalefactor bands exceeded", which results in 0 channels with samplerates of 0. * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state): Do upward transitions, then call parent state_change, then do downward transitions.
2005-11-23gst/qtdemux/qtdemux.c: Convert to fractional frameratesJan Schmidt1-13/+17
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (gst_qtdemux_add_stream), (qtdemux_dump_mvhd), (qtdemux_parse_trak): Convert to fractional framerates
2005-11-22ext/faad/gstfaad.c (gst_faad_event) ext/ivorbis/vorbisfile.c ↵Andy Wingo1-1/+1
(gst_ivorbisfile_loop) gst/qtdemux/qtdemux.c (gst_qtdemu... Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/faad/gstfaad.c (gst_faad_event) * ext/ivorbis/vorbisfile.c (gst_ivorbisfile_loop) * gst/qtdemux/qtdemux.c (gst_qtdemux_loop_header) * gst/speed/gstspeed.c (speed_sink_event) * gst/tta/gstttaparse.c (gst_tta_parse_src_event) (gst_tta_parse_parse_header): Run update-funcnames.
2005-11-21Fix for stream lock updates.Wim Taymans1-2/+2
Original commit message from CVS: * ext/faac/gstfaac.c: (gst_faac_sink_event): * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_event): * gst/tta/gstttaparse.c: (gst_tta_parse_src_event): Fix for stream lock updates.
2005-11-21gst/qtdemux/qtdemux.c: j@bootlab.org, #321903).Tim-Philipp Müller1-0/+10
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add DX50, DIVX and DIV3 fourccs (patch by j@bootlab.org, #321903).
2005-11-21Update for GST_FOURCC_FORMAT API change.Tim-Philipp Müller1-23/+23
Original commit message from CVS: * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_get_format_from_caps): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_type_get), (qtdemux_node_dump_foreach), (qtdemux_dump_hdlr), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_dcom), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_capture_init), (gst_v4l2src_get_size_limits): Update for GST_FOURCC_FORMAT API change.
2005-11-10gst/qtdemux/qtdemux.c: Add support for custom genre tags.Tim-Philipp Müller1-0/+7
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta): Add support for custom genre tags.
2005-10-27gst/qtdemux/qtdemux.c: Remove 'got-redirect' signal and post element message ↵Tim-Philipp Müller1-21/+8
on the bus instead. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init), (qtdemux_parse_tree): Remove 'got-redirect' signal and post element message on the bus instead.
2005-10-19gst/: API change fix.Wim Taymans1-3/+9
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_get_src_query_types), (gst_qtdemux_handle_src_query): * gst/speed/gstspeed.c: (speed_get_query_types), (speed_src_query): * gst/tta/gstttaparse.c: (gst_tta_parse_src_event), (gst_tta_parse_get_query_types), (gst_tta_parse_query): API change fix.
2005-10-11gst/: newsegment API update.Wim Taymans1-1/+1
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): * gst/tta/gstttaparse.c: (gst_tta_parse_src_event), (gst_tta_parse_parse_header): newsegment API update.
2005-09-28gst/qtdemux/qtdemux.c: No need to take stream lock here.Wim Taymans1-8/+1
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): No need to take stream lock here.
2005-09-05cleaning up badThomas Vander Stichele1-6/+7
Original commit message from CVS: cleaning up bad
2005-08-16gst/: Uncomment metadata and codec-name handling.Ronald S. Bultje1-19/+4
Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_stream_header): * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_add_stream), (qtdemux_parse_tree): Uncomment metadata and codec-name handling.
2005-08-16Handle _push() return values.Ronald S. Bultje1-1/+4
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_event), (gst_faad_chain): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): Handle _push() return values.
2005-08-15Fix debug.Ronald S. Bultje1-0/+2
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_event): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): Fix debug.
2005-08-15gst/qtdemux/qtdemux.c: Forwardport from 0.8 to implement RLE.Ronald S. Bultje1-1/+7
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps): Forwardport from 0.8 to implement RLE.
2005-08-10ext/faad/gstfaad.c: Add debug category, remove Close() call that made it ↵Ronald S. Bultje1-1/+2
crash whenever reusing, renegotiating or any... Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_class_init), (gst_faad_setcaps): Add debug category, remove Close() call that made it crash whenever reusing, renegotiating or anything; Close() actually free()s the handle and should only be called on READY->NULL. * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): Actually set caps on buffer (in addition to pad), also.