summaryrefslogtreecommitdiffstats
path: root/gst/avi
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* gst/avi/gstavidemux.c: Make avidemux accept optional header chunks in any order.René Stadler2007-03-081-58/+71
| | | | | | | | | | Original commit message from CVS: Patch by: René Stadler <mail at renestadler dot de> * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_push_event), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_chain): Make avidemux accept optional header chunks in any order. Fixes #415446.
* gst/avi/gstavidemux.c: Fix combined flow return. Fixes #412608.Wim Taymans2007-02-281-52/+41
| | | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop), (gst_avi_demux_chain): Fix combined flow return. Fixes #412608.
* gst/avi/gstavimux.c: Allow muxing video/x-h264 (was already in the caps). ↵zhangfei gao2007-02-141-0/+2
| | | | | | | | | Fixes #407780. Original commit message from CVS: Patch by: zhangfei gao <gaozhangfei@yahoo.com.cn> * gst/avi/gstavimux.c: (gst_avi_mux_vidsink_set_caps): Allow muxing video/x-h264 (was already in the caps). Fixes #407780.
* gst/avi/gstavidemux.c: Put debug stuff into #ifndef GST_DISABLE_DEBUG #endifStefan Kost2007-02-131-7/+15
| | | | | | | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_push_event), (gst_avi_demux_stream_header_pull), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop): Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif
* gst/avi/gstavidemux.*: Save some memory (8%) by repacking the index entry ↵Stefan Kost2007-02-122-202/+302
| | | | | | | | | | | | | | | | | | | | structure (more to come). Add more FIXMEs t... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_class_init), (gst_avi_demux_reset), (gst_avi_demux_index_entry_for_time), (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_push_event), (gst_avi_demux_stream_header_pull), (gst_avi_demux_do_seek), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop): * gst/avi/gstavidemux.h: Save some memory (8%) by repacking the index entry structure (more to come). Add more FIXMEs to questionable parts.
* gst/avi/gstavimux.c: Comment a #if 0 in caps template definition as VS6 ↵Sébastien Moutte2007-02-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seems to do not support it. Original commit message from CVS: * gst/avi/gstavimux.c: Comment a #if 0 in caps template definition as VS6 seems to do not support it. * gst/rtsp/gstrtspsrc.c:(gst_rtspsrc_loop_udp): Use gst_guint64_to_gdouble for conversion. * gst/rtsp/rtspconnection.c:(rtsp_connection_send): Move variables declaration before the first instruction. * gst/rtsp/rtspdefs.c:(rtsp_strresult): Don't use hstrerror for error log on G_OS_WIN32 build as it's not supported. And don't include netdb.h for G_OS_WIN32 * gst/rtsp/sdpmessage.c:(sdp_parse_line): This initialization SDPMedia nmedia = {.media = NULL }; is not supported by VS6 then use an other way to initialize SDPMedia structure. * gst/udp/gstdynudpsink.h: * gst/udp/gstdynudpnetutils.h: Do not include <sys/time.h> for G_OS_WIN32 * gst/udp/gstudpsrc.c: Define socklen_t as int for G_OS_WIN32 * win/common/config.h.in: Undef HAVE_NETINET_IN_H * win32/vs6/gst_plugins_good.dsw: * win32/vs6/libgstrtp.dsp: * win32/vs6/libgstrtsp.dsp: * win32/vs6/libgstautogen.dsp: * win32/vs6/libgstaudiofx.dsp: * win32/vs6/libgstudp.dsp: Add and update project files. * win32/common/gstudp-enumtypes.c: * win32/common/gstudp-enumtypes.h: Add a copy of udp enumtypes to win32/common as in core and base.
* gst/avi/gstavimux.c: Explicitly cast result of pointer arithmetic to integer ↵Tim-Philipp Müller2007-02-091-2/+2
| | | | | | | | | in order to avoid compiler warnings on s... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): Explicitly cast result of pointer arithmetic to integer in order to avoid compiler warnings on some 64-bit systems. Should fix #406018.
* gst/avi/gstavidemux.c: Error out properly when pull_range fails while we're ↵Tim-Philipp Müller2007-01-221-9/+13
| | | | | | | | | reading the headers, instead of just paus... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header_pull): Error out properly when pull_range fails while we're reading the headers, instead of just pausing the task silently. Fixes #399338.
* Add support for more than one audio stream; write better AVIX header; ↵Mark Nauwelaerts2007-01-142-538/+536
| | | | | | | | | | | | | | | | | | | | | | | refactor code a bit; don't announce vorbis caps... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/avi/gstavimux.c: (gst_avi_mux_finalize), (gst_avi_mux_pad_reset), (gst_avi_mux_reset), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_header), (gst_avi_mux_write_avix_index), (gst_avi_mux_add_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_handle_event), (gst_avi_mux_do_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: * tests/check/elements/avimux.c: (teardown_src_pad): Add support for more than one audio stream; write better AVIX header; refactor code a bit; don't announce vorbis caps on our audio sink pads since we don't support it anyway. Closes #379298.
* gst/avi/gstavidemux.c: Fix docs.Wim Taymans2007-01-091-2/+4
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: Fix docs.
* gst/avi/gstavimux.c: accept all mpegversions,fixes #380825 spotted by: ↵Stefan Kost2006-11-301-1/+1
| | | | | | | | | Jerome Alet Original commit message from CVS: * gst/avi/gstavimux.c: accept all mpegversions,fixes #380825 spotted by: Jerome Alet
* gst/avi/gstavidemux.c: remove dead code, tweak debugs statements, add ↵Stefan Kost2006-11-241-75/+171
| | | | | | | | | | | | | | | | | | | | | comments, use _uint64_scale instead _uint64_sca... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_index_entry_for_time), (gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query), (gst_avi_demux_peek_chunk), (gst_avi_demux_parse_subindex), (gst_avi_demux_read_subindexes_push), (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_next_data_buffer), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_stream_header_pull), (gst_avi_demux_do_seek), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop): remove dead code, tweak debugs statements, add comments, use _uint64_scale instead _uint64_scale_int when using guint64 values, small optimizations, reflow some error handling
* gst/avi/gstavidemux.c: Initialise variable to get rid of bogus compiler warning.Tim-Philipp Müller2006-11-161-1/+1
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_stream_scan): Initialise variable to get rid of bogus compiler warning.
* gst/avi/gstavidemux.c: Disable init_frames delay timestamp adjustment, it ↵Wim Taymans2006-11-141-2/+9
| | | | | | | | | does not seem to be needed at all. Fixes #3... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index): Disable init_frames delay timestamp adjustment, it does not seem to be needed at all. Fixes #369621.
* gst/avi/gstavidemux.c: Use higher precision scale function.Wim Taymans2006-10-311-2/+2
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): Use higher precision scale function.
* gst/avi/gstavidemux.c: Fix position query for audio. also fixes timestamps ↵Wim Taymans2006-10-281-78/+88
| | | | | | | | | | | | | | in streaming mode and bug #364958. Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_file_header), (gst_avi_demux_stream_init_push), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_data), (gst_avi_demux_chain): Fix position query for audio. also fixes timestamps in streaming mode and bug #364958. Small cleanups.
* Fix a bunch of problems discovered by the Forte compiler, mostly type mixups ↵Josep Torra Valles2006-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | and pointer arithmetics with void pointe... Original commit message from CVS: Patch by: Josep Torra Valles <josep at fluendo com> * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform): * ext/esd/esdsink.c: (gst_esdsink_write): * ext/flac/gstflacdec.c: (gst_flac_dec_length), (gst_flac_dec_read_seekable), (gst_flac_dec_chain), (gst_flac_dec_send_newsegment): * ext/flac/gstflacenc.c: (gst_flac_enc_seek_callback), (gst_flac_enc_tell_callback): * ext/jpeg/smokecodec.c: (find_best_size), (smokecodec_encode), (smokecodec_parse_header), (smokecodec_decode): * gst/avi/gstavimux.c: (gst_avi_mux_write_avix_index): * gst/debug/efence.c: (gst_fenced_buffer_alloc): * gst/goom/Makefile.am: * gst/goom/gstgoom.c: * gst/icydemux/gsticydemux.c: (gst_icydemux_typefind_or_forward): * gst/rtsp/gstrtspsrc.c: * gst/rtsp/rtspconnection.c: (rtsp_connection_read): * gst/udp/gstudpsink.c: * gst/udp/gstudpsrc.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_change_state): * sys/sunaudio/gstsunaudiomixertrack.h: Fix a bunch of problems discovered by the Forte compiler, mostly type mixups and pointer arithmetics with void pointers. Fixes #362603.
* Printf format fixes.Tim-Philipp Müller2006-10-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_update_font_height): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/libpng/gstpngdec.c: (user_endrow_callback): * gst/auparse/gstauparse.c: (gst_au_parse_parse_header): * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_data): * gst/cutter/gstcutter.c: (gst_cutter_chain): * gst/debug/efence.c: (gst_efence_buffer_alloc), (gst_fenced_buffer_copy): * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_handle_message): * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): * sys/ximage/ximageutil.c: (ximageutil_xcontext_get): Printf format fixes.
* gst/avi/gstavidemux.c: Don't check for a tag that is never there and check ↵Wim Taymans2006-09-221-7/+4
| | | | | | | | | | if we read the correct tag. Fixes seeking ... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_stream_index): Don't check for a tag that is never there and check if we read the correct tag. Fixes seeking again. We must post an error when all pads are unlinked.
* gst/avi/gstavimux.c: Correctly set the dwLength in strh.Yves Lefebvre2006-09-161-1/+1
| | | | | | | | | Original commit message from CVS: Patch by: Yves Lefebvre <ivanohe at abacom dot com> * gst/avi/gstavimux.c: (gst_avi_mux_stop_file): Correctly set the dwLength in strh. With this patch, the file duration is now displayed correctly in window media player and the AVI plays completely. Fixes #356147
* gst/avi/gstavidemux.c: More code reuse and better logging in _peek_chunk(). ↵Stefan Kost2006-09-131-101/+100
| | | | | | | | | | | | | | Reintroduce check for chunk sizes before ... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_peek_chunk), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_stream_header_push), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop): More code reuse and better logging in _peek_chunk(). Reintroduce check for chunk sizes before reading them (avoid oom). Better handling for invalid chunksizes when streaming.
* gst/avi/gstavidemux.c: Revert one change to fix streaming avi (adapter size ↵Stefan Kost2006-09-061-12/+16
| | | | | | | | | | != data size). Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_sync), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_data): Revert one change to fix streaming avi (adapter size != data size).
* gst/avi/gstavidemux.c: Initialze variables.Stefan Kost2006-08-271-4/+4
| | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan): Initialze variables.