summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
...
* gst/rtp/gstrtph263pdepay.c: Add some more debug info and guard against small ↵Wim Taymans2008-05-022-3/+24
| | | | | | | | | | payloads. Original commit message from CVS: * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process): Add some more debug info and guard against small payloads. * gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_process): Set duration on outgoing buffers because we can.
* gst/rtp/gstrtpspeexpay.c: Add negotiation for the speec channels and rate. ↵Olivier Crete2008-05-021-1/+31
| | | | | | | | | | See #465146. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init), (gst_rtp_speex_pay_getcaps): Add negotiation for the speec channels and rate. See #465146.
* gst/rtp/gstrtpilbcpay.c: Add negotiation for the ILBC mode. See #465146.Olivier Crete2008-05-021-3/+41
| | | | | | | | Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_class_init), (gst_rtpilbcpay_sink_setcaps), (gst_rtpilbcpay_sink_getcaps): Add negotiation for the ILBC mode. See #465146.
* gst/qtdemux/qtdemux.c: Add more mpeg2 variants. Fixes #530886.j^2008-05-021-1/+10
| | | | | | | Original commit message from CVS: Patch by: j^ <j@bootlab.org> * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): Add more mpeg2 variants. Fixes #530886.
* gst/udp/gstudpsrc.c: Don't error out if we get an ICMP ↵Youness Alaoui2008-05-011-0/+18
| | | | | | | | | | destination-unreachable message when trying to read packets on... Original commit message from CVS: Patch by: Youness Alaoui <youness.alaoui at collabora co uk> * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Don't error out if we get an ICMP destination-unreachable message when trying to read packets on win32 (#529454).
* Use new error code for encrypted streams (which requires core CVS).Tim-Philipp Müller2008-04-301-2/+1
| | | | | | | Original commit message from CVS: * configure.ac: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Use new error code for encrypted streams (which requires core CVS).
* gst/qtdemux/qtdemux.c: Fix swapped pad template names, spotted by Thiago ↵Tim-Philipp Müller2008-04-301-2/+2
| | | | | | | | | Sousa Santos. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_videosrc_template), (gst_qtdemux_audiosrc_template): Fix swapped pad template names, spotted by Thiago Sousa Santos.
* gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an ↵Michael Smith2008-04-281-0/+4
| | | | | | | | | adequate replacement locally as elsewhere. Original commit message from CVS: * gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an adequate replacement locally as elsewhere.
* gst/debug/rndbuffersize.c: Fix printf format to pacify Mac OSX's gcc.Julien Moutte2008-04-281-1/+1
| | | | | | | | Original commit message from CVS: 2008-04-28 Julien Moutte <julien@fluendo.com> * gst/debug/rndbuffersize.c: (gst_rnd_buffer_size_loop): Fix printf format to pacify Mac OSX's gcc.
* gst/debug/rndbuffersize.c: Bring rndbuffersize element into a state that ↵Tim-Philipp Müller2008-04-251-42/+85
| | | | | | | | | | | | | | | | | doesn't require us to move it to -bad immedi... Original commit message from CVS: * gst/debug/rndbuffersize.c: (DEFAULT_SEED), (DEFAULT_MIN), (DEFAULT_MAX), (src_template), (sink_template), (gst_rnd_buffer_size_base_init), (gst_rnd_buffer_size_class_init), (gst_rnd_buffer_size_init), (gst_rnd_buffer_size_activate), (gst_rnd_buffer_size_loop), (gst_rnd_buffer_size_plugin_init): Bring rndbuffersize element into a state that doesn't require us to move it to -bad immediately. For one, fix up default min/max values so that the element actuall works using the default values. Also, don't ignore flow return values and do some kind of minimal eos logic. Allow min=max to pull fixed-sized buffers. Bunch of other gratuitious clean-ups.
* gst/: Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid ↵Tim-Philipp Müller2008-04-253-7/+7
| | | | | | | | | | | problems on win32 (#529707). Original commit message from CVS: * gst/rtp/gstasteriskh263.c: (gst_asteriskh263_chain): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_add_internal): * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid problems on win32 (#529707).
* gst/goom/: Fix build with mingw32: use rand() instead of random() and ↵Jesús Corrius2008-04-252-5/+5
| | | | | | | | | | | replace bzero() with memset(). Fixes #529692. Original commit message from CVS: Patch by: Jesús Corrius <jesus at softcatala org> * gst/goom/filters.c: (zoomVector): * gst/goom/goom_core.c: (init_buffers): Fix build with mingw32: use rand() instead of random() and replace bzero() with memset(). Fixes #529692.
* 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.
* Stop using deprecated GLib functions.Sebastian Dröge2008-04-245-10/+10
| | | | | | | | | | | Original commit message from CVS: * ext/cairo/gsttextoverlay.c: (gst_text_overlay_set_property): * gst/debug/tests.c: (md5_get_value): * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps): * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_setcaps): * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps): * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps): Stop using deprecated GLib functions.
* gst/goom/: Free a bunch of stuff, and initialise things to fix leaks and ↵Jan Schmidt2008-04-2213-10/+77
| | | | | | | | | | | | | | | | | | | | | | valgrind warnings in the testsuite. Original commit message from CVS: * gst/goom/config_param.c: (goom_plugin_parameters_free): * gst/goom/convolve_fx.c: (convolve_init), (convolve_free): * gst/goom/filters.c: (zoomFilterVisualFXWrapper_free): * gst/goom/flying_stars_fx.c: (fs_free): * gst/goom/goom_config_param.h: * gst/goom/goom_core.c: (goom_init), (goom_close): * gst/goom/goom_plugin_info.h: * gst/goom/gstgoom.c: (gst_goom_finalize): * gst/goom/lines.c: (goom_lines_free): * gst/goom/plugin_info.c: (plugin_info_init), (plugin_info_free): * gst/goom/surf3d.c: (grid3d_free): * gst/goom/surf3d.h: * gst/goom/tentacle3d.c: (tentacle_free): Free a bunch of stuff, and initialise things to fix leaks and valgrind warnings in the testsuite. Fixes: #529268
* gst/rtsp/gstrtspsrc.c: Ref caps as the return value for the request_pt_map ↵Wim Taymans2008-04-211-4/+3
| | | | | | | | | | signal. Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (request_pt_map), (gst_rtspsrc_configure_caps): Ref caps as the return value for the request_pt_map signal. Remove some caps weirdness when configuring a stream. See #528245.
* gst/goom/convolve_fx.c: Don't ever draw the GOOM logo.Jan Schmidt2008-04-171-2/+10
| | | | | | | Original commit message from CVS: * gst/goom/convolve_fx.c: (convolve_apply): Don't ever draw the GOOM logo. Fixes: #528615
* Strip out the config/script parsing stuff, we don't need it.Tim-Philipp Müller2008-04-1614-2358/+3
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/goom/Makefile.am: * gst/goom/convolve_fx.c: * gst/goom/default_scripts.h: * gst/goom/goom.h: * gst/goom/goom_core.c: (choose_a_goom_line): * gst/goom/goom_plugin_info.h: * gst/goom/goomsl.c: * gst/goom/goomsl.h: * gst/goom/goomsl_hash.c: * gst/goom/goomsl_hash.h: * gst/goom/goomsl_heap.c: * gst/goom/goomsl_heap.h: * gst/goom/goomsl_private.h: * gst/goom/plugin_info.c: Strip out the config/script parsing stuff, we don't need it. Fixes #527999.
* gst/goom/plugin_info.c: Disable altivec optimisations for 32-bit PPC as well ↵Tim-Philipp Müller2008-04-151-2/+3
| | | | | | | | | to make things build properly on all PPC... Original commit message from CVS: * gst/goom/plugin_info.c: (setOptimizedMethods): Disable altivec optimisations for 32-bit PPC as well to make things build properly on all PPC systems. Fixes #528143
* gst/matroska/matroska-demux.c: Fix open-ended seeks in matroskademuxMark Nauwelaerts2008-04-141-8/+11
| | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): Fix open-ended seeks in matroskademux Patch by: Mark Nauwelaerts <manauw skynet be> Fixes: #526557
* gst/goom/: Remove a bunch of font/text related code that we don't need.Tim-Philipp Müller2008-04-0910-3496/+4
| | | | | | | | | | | | | | | Original commit message from CVS: * gst/goom/Makefile.am: * gst/goom/gfontlib.c: * gst/goom/gfontlib.h: * gst/goom/gfontrle.c: * gst/goom/gfontrle.h: * gst/goom/goom.h: * gst/goom/goom_core.c: (goom_update): * gst/goom/goom_plugin_info.h: * gst/goom/gstgoom.c: (gst_goom_chain): * gst/goom/plugin_info.c: Remove a bunch of font/text related code that we don't need.
* gst/goom/: Change license of these files to LGPL, as permitted by the ↵Tim-Philipp Müller2008-04-092-2/+28
| | | | | | | | | | author, Guillaume Borios. See #515073. Original commit message from CVS: * gst/goom/ppc_drawings.s: * gst/goom/ppc_zoom_ultimate.s: Change license of these files to LGPL, as permitted by the author, Guillaume Borios. See #515073.
* gst/goom/: As hinted in Bug #518213, revert one change and fix warnings ↵Stefan Kost2008-04-093-524/+517
| | | | | | | | | | | properly. Original commit message from CVS: * gst/goom/convolve_fx.c: * gst/goom/motif_goom1.h: * gst/goom/motif_goom2.h: As hinted in Bug #518213, revert one change and fix warnings properly. This fixes both #518213 and #520073 for me.
* gst/matroska/: Fix the Forte build by making function declaration signatures ↵Jan Schmidt2008-04-092-9/+10
| | | | | | | | | | | | | match the implementations. Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_seek): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_parse_contents_seekentry), (gst_matroska_demux_loop): Fix the Forte build by making function declaration signatures match the implementations.
* gst/rtp/gstrtph264pay.c: Fix build because of a bad argument number.Julien Moutte2008-04-071-1/+1
| | | | | | | | Original commit message from CVS: 2008-04-07 Julien Moutte <julien@fluendo.com> * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_setcaps): Fix build because of a bad argument number.
* gst/rtp/gstrtph264pay.*: Parse codec_data for future AVC compatibility.Wim Taymans2008-04-042-25/+172
| | | | | | | | | Original commit message from CVS: * gst/rtp/gstrtph264pay.c: (encode_base64), (gst_rtp_h264_pay_setcaps), (gst_rtp_h264_pay_handle_buffer): * gst/rtp/gstrtph264pay.h: Parse codec_data for future AVC compatibility. Fail when we encounter AVC data for now.
* gst/spectrum/gstspectrum.c: Rename property enums and default defines for ↵Tim-Philipp Müller2008-04-041-32/+36
| | | | | | | | | | | | the properties to match the property names ... Original commit message from CVS: * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_set_property), (gst_spectrum_get_property), (gst_spectrum_message_new): Rename property enums and default defines for the properties to match the property names and rephrase property descriptions to make them a bit clearer (hopefully). See #518188.
* gst/goom/goomsl.c: Check return value of fread() to avoid compiler warnings.Tim-Philipp Müller2008-04-021-1/+3
| | | | | | Original commit message from CVS: * gst/goom/goomsl.c: (gsl_read_file): Check return value of fread() to avoid compiler warnings.
* gst/law/: Make negotiation a bit modern.mersad2008-04-016-39/+93
| | | | | | | | | | | | | | | Original commit message from CVS: Based on patch by: mersad <mersad at axis dot com> * gst/law/alaw-decode.c: (gst_alaw_dec_sink_setcaps), (gst_alaw_dec_chain), (gst_alaw_dec_change_state): * gst/law/alaw-decode.h: * gst/law/alaw-encode.c: (gst_alaw_enc_chain): * gst/law/mulaw-decode.c: (mulawdec_sink_setcaps), (gst_mulawdec_chain), (gst_mulawdec_change_state): * gst/law/mulaw-decode.h: * gst/law/mulaw-encode.c: (gst_mulawenc_chain): Make negotiation a bit modern. Use pad_alloc. Fixes #525359.
* gst/goom/xmmx.c: Fix constraints on asm code so that it compiles ↵David Schleef2008-03-311-3/+3
| | | | | | | | consistently. Fixes #522278. Original commit message from CVS: * gst/goom/xmmx.c: Fix constraints on asm code so that it compiles consistently. Fixes #522278.
* gst/qtdemux/qtdemux.c: Unbreak streaming mode again.Wim Taymans2008-03-251-0/+3
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (next_entry_size): Unbreak streaming mode again.
* Make rganalysis and rglimiter elements GAP-flag aware.Rene Stadler2008-03-242-1/+16
| | | | | | | | | | | | | Original commit message from CVS: * gst/replaygain/gstrganalysis.c (gst_rg_analysis_init), (gst_rg_analysis_transform_ip): * gst/replaygain/gstrglimiter.c (gst_rg_limiter_init), (gst_rg_limiter_transform_ip): Make rganalysis and rglimiter elements GAP-flag aware. * tests/check/elements/rganalysis.c: (test_gap_buffers), (rganalysis_suite): * tests/check/elements/rglimiter.c (test_gap), (rglimiter_suite): Add tests to verify gap-awareness.
* gst/goom/Makefile.am: Remove ppc assembler optimisations from the build ↵Tim-Philipp Müller2008-03-231-2/+6
| | | | | | | | | until they actually build (they also seem to ... Original commit message from CVS: * gst/goom/Makefile.am: Remove ppc assembler optimisations from the build until they actually build (they also seem to have GPL headers).
* gst/freeze/: Add example to source code documentation blob and remove the 3 lineStefan Kost2008-03-191-0/+17
| | | | | | | | | | | Original commit message from CVS: * gst/freeze/FAQ: * gst/freeze/Makefile.am: * gst/freeze/gstfreeze.c: Add example to source code documentation blob and remove the 3 line FAQ. * gst/interleave/interleave.c: Add a source code documentation blob.
* gst/rtsp/gstrtspsrc.c: Call WSAStartup() and WSACleanup before using the ↵Ole André Vadla Ravnås2008-03-171-0/+16
| | | | | | | | | | | Winsock API. Original commit message from CVS: Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize): Call WSAStartup() and WSACleanup before using the Winsock API. See #520808.
* 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/goom/: Small fixes to build more on PPC: ifdef out code that uses ↵Tim-Philipp Müller2008-03-162-1/+5
| | | | | | | | | | | unknown define; add newline at end of header fi... Original commit message from CVS: * gst/goom/plugin_info.c: * gst/goom/ppc_zoom_ultimate.h: Small fixes to build more on PPC: ifdef out code that uses unknown define; add newline at end of header file to avoid compiler warning. Assembler code still doesn't build though.
* 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.
* fix license file, remove extra line copied over by mistakeChristian Schaller2008-03-141-2/+0
| | | | | Original commit message from CVS: fix license file, remove extra line copied over by mistake
* gst/audiofx/audiofx.c: Use GST_LICENSE, GST_PACKAGE_NAME and ↵Sebastian Dröge2008-03-131-1/+1
| | | | | | | | | GST_PACKAGE_ORIGIN instead of hardcoding values. Original commit message from CVS: * gst/audiofx/audiofx.c: Use GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN instead of hardcoding values.
* gst/qtdemux/qtdemux.c: Make sure we always send a DISCONT after a seek by ↵Wim Taymans2008-03-111-3/+7
| | | | | | | | | | | | setting the sample index to an undefined va... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek), (gst_qtdemux_activate_segment), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie), (qtdemux_parse_trak): Make sure we always send a DISCONT after a seek by setting the sample index to an undefined value after a seek.
* 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/matroska/ebml-ids.h: Add ID for EBML CRC32 elements.Sebastian Dröge2008-03-083-25/+84
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/matroska/ebml-ids.h: Add ID for EBML CRC32 elements. * gst/matroska/Makefile.am: * gst/matroska/ebml-read.c: (gst_ebml_finalize), (gst_ebml_read_class_init), (gst_ebml_read_peek_bytes), (gst_ebml_read_get_length), (_ext2dbl), (gst_ebml_read_float), (gst_ebml_read_header): Support reading 80bit floats, add finalize method to clean up in any case, support reading length/id elements with any length as long as it's smaller than our supported maximum, don't leak buffers if reading as much data as we wanted failed and some smaller cleanup.
* gst/rtp/gstrtph263pdepay.c: Check that a buffer is large enough before ↵Olivier Crete2008-03-081-0/+6
| | | | | | | | | | reading from it. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_process): Check that a buffer is large enough before reading from it. Fixes bug #521102.
* gst/udp/gstudpsrc.c: Fix compilation after removing the GstPollMode from the ↵Wim Taymans2008-03-071-1/+1
| | | | | | | | | constructor. Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Fix compilation after removing the GstPollMode from the constructor.
* Check for sinh(), cosh() and asinh() and define our own implementations if ↵Sebastian Dröge2008-03-074-1/+61
| | | | | | | | | | | | | they're not available. Fixes bug #520880. Original commit message from CVS: * configure.ac: * gst/audiofx/Makefile.am: * gst/audiofx/audiochebband.c: * gst/audiofx/audiocheblimit.c: * gst/audiofx/math_compat.h: Check for sinh(), cosh() and asinh() and define our own implementations if they're not available. Fixes bug #520880.
* gst/udp/gstudpsrc.c: Properly balance WSA_Cleanup with WSA_Startup.Ole André Vadla Ravnås2008-03-071-7/+2
| | | | | | | | | Original commit message from CVS: Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> * gst/udp/gstudpsrc.c: (gst_udpsrc_finalize), (gst_udpsrc_start), (gst_udpsrc_stop): Properly balance WSA_Cleanup with WSA_Startup. Also make the poll controllable on windows. Fixes #520888.
* gst/matroska/: Handle return values from pull_range in a more granular way ↵Wim Taymans2008-03-065-670/+739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to properly shut down on seeks. Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes), (gst_ebml_read_pull_bytes), (gst_ebml_read_element_id), (gst_ebml_read_element_length), (gst_ebml_peek_id), (gst_ebml_read_skip), (gst_ebml_read_buffer), (gst_ebml_read_bytes), (gst_ebml_read_uint), (gst_ebml_read_sint), (gst_ebml_read_float), (gst_ebml_read_ascii), (gst_ebml_read_utf8), (gst_ebml_read_date), (gst_ebml_read_master), (gst_ebml_read_binary), (gst_ebml_read_header): * gst/matroska/ebml-read.h: * gst/matroska/matroska-demux.c: (gst_matroska_demux_combine_flows), (gst_matroska_demux_reset), (gst_matroska_demux_read_track_encodings), (gst_matroska_demux_add_stream), (gst_matroska_demux_handle_src_query), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_init_stream), (gst_matroska_demux_parse_tracks), (gst_matroska_demux_parse_index_cuetrack), (gst_matroska_demux_parse_index_pointentry), (gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info), (gst_matroska_demux_parse_metadata_id_simple_tag), (gst_matroska_demux_parse_metadata_id_tag), (gst_matroska_demux_parse_metadata), (gst_matroska_demux_sync_streams), (gst_matroska_demux_push_hdr_buf), (gst_matroska_demux_push_flac_codec_priv_data), (gst_matroska_demux_push_xiph_codec_priv_data), (gst_matroska_demux_add_wvpk_header), (gst_matroska_demux_check_subtitle_buffer), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_parse_cluster), (gst_matroska_demux_parse_contents_seekentry), (gst_matroska_demux_parse_contents), (gst_matroska_demux_loop_stream_parse_id), (gst_matroska_demux_loop_stream), (gst_matroska_demux_loop): * gst/matroska/matroska-demux.h: * gst/matroska/matroska-ids.h: Handle return values from pull_range in a more granular way to properly shut down on seeks. Combine return values from push. Implement proper error handling. Prepare for handling seeking correctly.
* gst/matroska/ebml-read.c: Use GINT64 formatting constants from GLIB.Jan Schmidt2008-03-033-43/+82
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/matroska/ebml-read.c: Use GINT64 formatting constants from GLIB. * gst/matroska/matroska-demux.c: Add some guards to avoid a possible division by 0 and crashing with NULL events on some systems. Use gst_gdouble_to_guint64 somewhere instead of an implicit conversion. * gst/matroska/matroska-mux.c: Check for invalid timestamps in a bunch of places to avoid writing bogus durations into the output file. Fix some double<->gint64 conversions that weren't using gst_guint64_to_gdouble