platform/upstream/gstreamer.git
16 years agogst/mpegaudioparse/gstmpegaudioparse.c: Plug some leaks.
Stefan Kost [Mon, 19 Nov 2007 09:50:58 +0000 (09:50 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Plug some leaks.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
Plug some leaks.

16 years agogst/asfdemux/gstasfdemux.c: Sync _activate_pull() a little more with other demuxers.
Stefan Kost [Tue, 13 Nov 2007 06:57:57 +0000 (06:57 +0000)]
gst/asfdemux/gstasfdemux.c: Sync _activate_pull() a little more with other demuxers.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
Sync _activate_pull() a little more with other demuxers.

16 years agogst/mpegstream/gstmpegdemux.c: recognize the padding stream
Thijs Vermeir [Sun, 11 Nov 2007 20:41:32 +0000 (20:41 +0000)]
gst/mpegstream/gstmpegdemux.c: recognize the padding stream

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c:
recognize the padding stream

16 years agogst/asfdemux/gstasfdemux.c: Convert tags that come as string into the type required by
Tim-Philipp Müller [Wed, 31 Oct 2007 14:33:03 +0000 (14:33 +0000)]
gst/asfdemux/gstasfdemux.c: Convert tags that come as string into the type required by

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc):
Convert tags that come as string into the type required by
GstTagList.

16 years agogst/mpegaudioparse/gstmpegaudioparse.c: Remove some more broken code, it seems to...
Wim Taymans [Tue, 30 Oct 2007 12:27:32 +0000 (12:27 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Remove some more broken code, it seems to clip even when it should not.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_emit_frame):
Remove some more broken code, it seems to clip even when it should not.
See #491305.

16 years agogst/mpegaudioparse/gstmpegaudioparse.c: When the element is not driving the streaming...
Wim Taymans [Tue, 30 Oct 2007 11:13:49 +0000 (11:13 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: When the element is not driving the streaming thread it is not supposed to em...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_emit_frame):
When the element is not driving the streaming thread it is not supposed
to emit EOS or post SEGMENT done. It is allowed to return UNEXPECTED
upstream when it detects EOS. See #491305.

16 years agogst/dvdsub/: Add dvd subtitle parser, which just packetizes the input stream. This...
Mark Nauwelaerts [Sat, 13 Oct 2007 15:13:34 +0000 (15:13 +0000)]
gst/dvdsub/: Add dvd subtitle parser, which just packetizes the input stream. This is needed to mux dvd subtitles int...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <mnauw at users.sourceforge.net>
* gst/dvdsub/Makefile.am:
* gst/dvdsub/gstdvdsubdec.c:
* gst/dvdsub/gstdvdsubparse.c:
* gst/dvdsub/gstdvdsubparse.h:
Add dvd subtitle parser, which just packetizes the input
stream. This is needed to mux dvd subtitles into matroska
files, since the muxer expects unfragmented and properly
timestamped input (#415754).

16 years agoconfigure.ac: Update requirements from past CVS versions to released versions (0...
Tim-Philipp Müller [Wed, 10 Oct 2007 12:02:30 +0000 (12:02 +0000)]
configure.ac: Update requirements from past CVS versions to released versions (0.10.14 in this case).

Original commit message from CVS:
* configure.ac:
Update requirements from past CVS versions to released
versions (0.10.14 in this case).
* ext/sidplay/gstsiddec.cc:
Fix compilation with g++-4.2.

16 years agogst/realmedia/: Fix some compiler warnings shown on Forte.
Jan Schmidt [Mon, 8 Oct 2007 17:51:33 +0000 (17:51 +0000)]
gst/realmedia/: Fix some compiler warnings shown on Forte.

Original commit message from CVS:
* gst/realmedia/asmrules.c: (gst_asm_scan_parse_expression),
(gst_asm_scan_parse_condition):
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_video_packet):
Fix some compiler warnings shown on Forte.

16 years agogst/xingheader/gstxingmux.c: The size of the Xing header is actually 417 as it's...
Gautier Portet [Fri, 5 Oct 2007 08:51:44 +0000 (08:51 +0000)]
gst/xingheader/gstxingmux.c: The size of the Xing header is actually 417 as it's rounded to the next smaller integer....

Original commit message from CVS:
Patch by: Gautier Portet <kassoulet at gmail dot com>
* gst/xingheader/gstxingmux.c:
The size of the Xing header is actually 417 as it's rounded to the
next smaller integer. Fixes #397759.
* gst/xingheader/gstxingmux.c: (xing_generate_header),
(xing_push_header):
Some random cleanup, add FIXMEs and TODOs and check if the newsegment
event to the beginning was successful before pushing the header again.

16 years agogst/mpegaudioparse/gstmpegaudioparse.c: Use gst_util_guint64_to_gdouble for conversions.
Sébastien Moutte [Sat, 29 Sep 2007 17:11:16 +0000 (17:11 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Use gst_util_guint64_to_gdouble for conversions.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3parse_time_to_bytepos),
(mp3parse_bytepos_to_time):
Use gst_util_guint64_to_gdouble for conversions.
* win32/vs6/libgstmad.dsp:
Add a link to libgstaudio.

16 years agoext/lame/gstlame.c: Fix up case where there is no peer, in which case _get_allowed_ca...
Tim-Philipp Müller [Wed, 26 Sep 2007 13:40:35 +0000 (13:40 +0000)]
ext/lame/gstlame.c: Fix up case where there is no peer, in which case _get_allowed_caps() will return NULL.

Original commit message from CVS:
* ext/lame/gstlame.c:
Fix up case where there is no peer, in which case
_get_allowed_caps() will return NULL.

16 years agoext/lame/gstlame.c: Use GST_PTR_FORMAT to print caps in debug statement.
Tim-Philipp Müller [Tue, 25 Sep 2007 13:20:27 +0000 (13:20 +0000)]
ext/lame/gstlame.c: Use GST_PTR_FORMAT to print caps in debug statement.

Original commit message from CVS:
* ext/lame/gstlame.c:
Use GST_PTR_FORMAT to print caps in debug statement.

16 years agoconfigure.ac: Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and
Sebastian Dröge [Tue, 25 Sep 2007 09:16:05 +0000 (09:16 +0000)]
configure.ac: Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and

Original commit message from CVS:
* configure.ac:
Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and
AG_GST_ARG_ENABLE_EXPERIMENTAL instead of duplicating those macros
in configure.ac.

16 years agoext/lame/gstlame.c: Allow fixing the sample rate lame converts to by negotiating...
Thomas Vander Stichele [Mon, 24 Sep 2007 10:26:21 +0000 (10:26 +0000)]
ext/lame/gstlame.c: Allow fixing the sample rate lame converts to by negotiating fixed sample rate on the src pad caps.

Original commit message from CVS:
* ext/lame/gstlame.c:
Allow fixing the sample rate lame converts to by negotiating fixed
sample rate on the src pad caps.
Add docs for it.
* tests/check/Makefile.am:
* tests/check/pipelines/lame.c:
Add a check for it.

16 years agopo/: Updated translations.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:22:12 +0000 (18:22 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/LINGUAS:
* po/da.po:
Updated translations.

16 years agopo/pl.po: Added Polish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:20:50 +0000 (18:20 +0000)]
po/pl.po: Added Polish translation.

Original commit message from CVS:
translated by: Jakub Bogusz <qboosh@pld-linux.org>
* po/pl.po:
Added Polish translation.

16 years agopo/fi.po: Added Finnish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:19:08 +0000 (18:19 +0000)]
po/fi.po: Added Finnish translation.

Original commit message from CVS:
translated by: Ilkka Tuohela <hile@iki.fi>
* po/fi.po:
Added Finnish translation.

16 years agopo/es.po: Added Spanish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:17:52 +0000 (18:17 +0000)]
po/es.po: Added Spanish translation.

Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/es.po:
Added Spanish translation.

16 years agopo/bg.po: Added Bulgarian translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:17:08 +0000 (18:17 +0000)]
po/bg.po: Added Bulgarian translation.

Original commit message from CVS:
translated by: Alexander Shopov <ash@contact.bg>
* po/bg.po:
Added Bulgarian translation.

16 years agogst/iec958/ac3iec.c: Chainup in finalize.
Stefan Kost [Thu, 20 Sep 2007 11:47:52 +0000 (11:47 +0000)]
gst/iec958/ac3iec.c: Chainup in finalize.

Original commit message from CVS:
* gst/iec958/ac3iec.c:
Chainup in finalize.
* tests/check/Makefile.am:
* tests/check/generic/states.c:
Improved state change unit test.

16 years agoIgnore registries in any format.
Stefan Kost [Wed, 19 Sep 2007 18:20:41 +0000 (18:20 +0000)]
Ignore registries in any format.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.

16 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a define in the...
Tim-Philipp Müller [Sat, 8 Sep 2007 20:54:54 +0000 (20:54 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a define in the lame headers.  This has the advan...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a
define in the lame headers.  This has the advantage that
it should still work when we're cross-compiling (#452025).

16 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Add other allowed rates to the pad templates.
Jan Schmidt [Fri, 24 Aug 2007 15:55:03 +0000 (15:55 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Add other allowed rates to the pad templates.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
Add other allowed rates to the pad templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_dispose):
Reset the parser to release memory in dispose.

16 years agoext/: Fix more leaks.
Stefan Kost [Fri, 17 Aug 2007 06:56:53 +0000 (06:56 +0000)]
ext/: Fix more leaks.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c:
* ext/amrnb/amrnbenc.c:
* ext/amrnb/amrnbparse.c:
* ext/sidplay/gstsiddec.cc:
Fix more leaks.

16 years agoext/amrnb/amrnbenc.*: Add property to select the BandMode of the AMR encoder.
Daniel Charles [Thu, 16 Aug 2007 14:49:11 +0000 (14:49 +0000)]
ext/amrnb/amrnbenc.*: Add property to select the BandMode of the AMR encoder.

Original commit message from CVS:
Patch by: Daniel Charles <dcharles at ti dot com>
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_bandmode_get_type),
(gst_amrnbenc_set_property), (gst_amrnbenc_get_property),
(gst_amrnbenc_base_init), (gst_amrnbenc_class_init),
(gst_amrnbenc_chain), (gst_amrnbenc_state_change):
* ext/amrnb/amrnbenc.h:
Add property to select the BandMode of the AMR encoder.
See #466442.

16 years agogst/realmedia/asmrules.c: Make ro memory to share.
Stefan Kost [Thu, 16 Aug 2007 12:15:32 +0000 (12:15 +0000)]
gst/realmedia/asmrules.c: Make ro memory to share.

Original commit message from CVS:
* gst/realmedia/asmrules.c:
Make ro memory to share.

16 years agogst/mpegaudioparse/gstmpegaudioparse.*: Queue segment event and push it after we...
Wim Taymans [Thu, 16 Aug 2007 11:52:57 +0000 (11:52 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Queue segment event and push it after we know the caps on the pad or else an ...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_sink_event), (gst_mp3parse_emit_frame):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Queue segment event and push it after we know the caps on the pad or
else an autoplugger might not have plugged the element yet and the
segment is lost.

16 years agogst/iec958/ac3iec.c: Fix tests.
Stefan Kost [Thu, 16 Aug 2007 07:17:13 +0000 (07:17 +0000)]
gst/iec958/ac3iec.c: Fix tests.

Original commit message from CVS:
* gst/iec958/ac3iec.c:
Fix tests.

16 years agotests/check/: Add generic state-change test suite to help to fi leaks.
Stefan Kost [Thu, 16 Aug 2007 06:48:13 +0000 (06:48 +0000)]
tests/check/: Add generic state-change test suite to help to fi leaks.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/generic/.cvsignore:
* tests/check/generic/states.c:
Add generic state-change test suite to help to fi leaks.

16 years agopo/: Added Portuguese (Brazilian) translation.
Thomas Vander Stichele [Thu, 9 Aug 2007 10:57:11 +0000 (10:57 +0000)]
po/: Added Portuguese (Brazilian) translation.

Original commit message from CVS:
translated by: Raphael Higino <phhigino@gmail.com>
* po/LINGUAS:
* po/pt_BR.po:
Added Portuguese (Brazilian) translation.

16 years agopo/: Updated translations.
Thomas Vander Stichele [Thu, 9 Aug 2007 10:55:59 +0000 (10:55 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/hu.po:
* po/nl.po:
* po/sv.po:
* po/uk.po:
Updated translations.

16 years agogst/realmedia/rmdemux.c: Activate timestamp fixing code.
Wim Taymans [Tue, 7 Aug 2007 11:50:44 +0000 (11:50 +0000)]
gst/realmedia/rmdemux.c: Activate timestamp fixing code.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_fix_timestamp),
(gst_rmdemux_parse_video_packet):
Activate timestamp fixing code.

16 years agogst/realmedia/rmdemux.c: Do fragment collection in the demuxer so that we can now...
Wim Taymans [Tue, 7 Aug 2007 10:57:09 +0000 (10:57 +0000)]
gst/realmedia/rmdemux.c: Do fragment collection in the demuxer so that we can now work with both ffmpeg and realvideo...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset),
(gst_rmdemux_chain), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_fix_timestamp), (gst_rmdemux_parse_video_packet),
(gst_rmdemux_parse_audio_packet), (gst_rmdemux_parse_packet):
Do fragment collection in the demuxer so that we can now work with
both ffmpeg and realvideodec to decoder real video content.

16 years agogst/realmedia/asmrules.c: Include stdlib.h.
Stefan Kost [Sat, 4 Aug 2007 12:59:24 +0000 (12:59 +0000)]
gst/realmedia/asmrules.c: Include stdlib.h.

Original commit message from CVS:
* gst/realmedia/asmrules.c:
Include stdlib.h.

16 years agogst/realmedia/rdtmanager.c: Fix caps.
Wim Taymans [Fri, 3 Aug 2007 16:21:19 +0000 (16:21 +0000)]
gst/realmedia/rdtmanager.c: Fix caps.

Original commit message from CVS:
* gst/realmedia/rdtmanager.c:
Fix caps.

16 years agogst/realmedia/rtspreal.c: Disable UDP transport for now.
Wim Taymans [Fri, 3 Aug 2007 16:11:09 +0000 (16:11 +0000)]
gst/realmedia/rtspreal.c: Disable UDP transport for now.

Original commit message from CVS:
* gst/realmedia/rtspreal.c: (rtsp_ext_real_get_transports),
(rtsp_ext_real_parse_sdp), (rtsp_ext_real_stream_select):
Disable UDP transport for now.

16 years agogst/realmedia/: Add simple rdt manager.
Wim Taymans [Fri, 3 Aug 2007 16:09:01 +0000 (16:09 +0000)]
gst/realmedia/: Add simple rdt manager.

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rdtmanager.c: (find_session_by_id),
(create_session), (free_session), (gst_rdt_manager_base_init),
(gst_rdt_manager_marshal_BOXED__UINT_UINT),
(gst_rdt_manager_class_init), (gst_rdt_manager_init),
(gst_rdt_manager_finalize), (gst_rdt_manager_query_src),
(gst_rdt_manager_chain_rtp), (gst_rdt_manager_chain_rtcp),
(gst_rdt_manager_set_property), (gst_rdt_manager_get_property),
(gst_rdt_manager_provide_clock), (gst_rdt_manager_change_state),
(create_recv_rtp), (create_recv_rtcp), (create_rtcp),
(gst_rdt_manager_request_new_pad), (gst_rdt_manager_release_pad),
(gst_rdt_manager_plugin_init):
* gst/realmedia/rdtmanager.h:
* gst/realmedia/rmdemux.c: (plugin_init):
Add simple rdt manager.

16 years agogst/realmedia/rdtdepay.c: Fix the encoding-name so that it matches what the rtsp...
Wim Taymans [Fri, 3 Aug 2007 14:19:50 +0000 (14:19 +0000)]
gst/realmedia/rdtdepay.c: Fix the encoding-name so that it matches what the rtsp extension sets.

Original commit message from CVS:
* gst/realmedia/rdtdepay.c:
Fix the encoding-name so that it matches what the rtsp extension sets.

16 years agogst/realmedia/: Use g_hash_table_destroy instead of _unref which is too new.
Wim Taymans [Thu, 2 Aug 2007 19:37:41 +0000 (19:37 +0000)]
gst/realmedia/: Use g_hash_table_destroy instead of _unref which is too new.

Original commit message from CVS:
* gst/realmedia/asmrules.c: (gst_asm_node_free),
(gst_asm_node_evaluate), (gst_asm_scan_new), (gst_asm_scan_free),
(gst_asm_scan_string), (gst_asm_scan_number),
(gst_asm_scan_identifier), (gst_asm_scan_print_token),
(gst_asm_scan_next_token), (gst_asm_rule_free),
(gst_asm_rule_add_property), (gst_asm_scan_parse_operand),
(gst_asm_scan_parse_expression), (gst_asm_scan_parse_condition),
(gst_asm_scan_parse_property), (gst_asm_scan_parse_rule),
(gst_asm_rule_evaluate), (gst_asm_rule_book_new),
(gst_asm_rule_book_n_rules), (gst_asm_rule_book_free),
(gst_asm_rule_book_match), (main):
* gst/realmedia/rtspreal.c: (rtsp_ext_real_parse_sdp),
(rtsp_ext_real_stream_select), (gst_rtsp_real_plugin_init):
Use g_hash_table_destroy instead of _unref which is too new.

16 years agogst/realmedia/.cvsignore: Add test to ignore.
Wim Taymans [Thu, 2 Aug 2007 19:30:05 +0000 (19:30 +0000)]
gst/realmedia/.cvsignore: Add test to ignore.

Original commit message from CVS:
* gst/realmedia/.cvsignore:
Add test to ignore.
* gst/realmedia/Makefile.am:
* gst/realmedia/asmrules.c: (gst_asm_node_new),
(gst_asm_node_free), (gst_asm_operator_eval),
(gst_asm_node_evaluate), (gst_asm_scan_new), (gst_asm_scan_free),
(gst_asm_scan_string), (gst_asm_scan_number),
(gst_asm_scan_identifier), (gst_asm_scan_print_token),
(gst_asm_scan_next_token), (gst_asm_rule_new), (gst_asm_rule_free),
(gst_asm_rule_add_property), (gst_asm_scan_parse_operand),
(gst_asm_scan_parse_expression), (gst_asm_scan_parse_condition),
(gst_asm_scan_parse_property), (gst_asm_scan_parse_rule),
(gst_asm_rule_evaluate), (gst_asm_rule_book_new),
(gst_asm_rule_book_n_rules), (gst_asm_rule_book_free),
(gst_asm_rule_book_match), (main):
* gst/realmedia/asmrules.h:
Added asembler rule book parser and evaluator.
* gst/realmedia/rtspreal.c: (rtsp_ext_real_parse_sdp),
(rtsp_ext_real_stream_select), (gst_rtsp_real_plugin_init):
* gst/realmedia/rtspreal.h:
Keep per stream config info.
Parse and evaluate asm rule books for stream selection.

16 years agogst/realmedia/rtspreal.c: Include stdlib.
Stefan Kost [Tue, 31 Jul 2007 19:16:44 +0000 (19:16 +0000)]
gst/realmedia/rtspreal.c: Include stdlib.

Original commit message from CVS:
* gst/realmedia/rtspreal.c:
Include stdlib.

16 years agogst/realmedia/: Split out hash code in separate file.
Wim Taymans [Fri, 27 Jul 2007 16:39:45 +0000 (16:39 +0000)]
gst/realmedia/: Split out hash code in separate file.

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/realhash.c: (hash), (call_hash),
(gst_rtsp_ext_real_calc_response_and_checksum):
* gst/realmedia/realhash.h:
* gst/realmedia/rtspreal.c: (rtsp_ext_real_get_transports),
(rtsp_ext_real_after_send), (rtsp_ext_real_stream_select):
Split out hash code in separate file.

16 years agogst/: Fix include paths and link dependecies for rtsp extension.
Wim Taymans [Fri, 27 Jul 2007 10:12:55 +0000 (10:12 +0000)]
gst/: Fix include paths and link dependecies for rtsp extension.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/gstrtspwms.c: (gst_rtsp_wms_parse_sdp), (_do_init),
(gst_rtsp_wms_class_init):
* gst/realmedia/Makefile.am:
* gst/realmedia/rtspreal.c: (rtsp_ext_real_get_transports),
(rtsp_ext_real_before_send), (rtsp_ext_real_after_send),
(rtsp_ext_real_parse_sdp), (rtsp_ext_real_stream_select),
(_do_init), (gst_rtsp_real_class_init):
Fix include paths and link dependecies for rtsp extension.

16 years agogst/realmedia/: Add RealMedia RTSP extension module. It has rank NONE until it is...
Wim Taymans [Thu, 26 Jul 2007 15:52:43 +0000 (15:52 +0000)]
gst/realmedia/: Add RealMedia RTSP extension module. It has rank NONE until it is fully functional.

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rmdemux.c: (plugin_init):
* gst/realmedia/rtspreal.c: (rtsp_ext_real_get_transports),
(rtsp_ext_real_before_send), (rtsp_ext_real_after_send), (hash),
(call_hash), (rtsp_ext_real_calc_response_and_checksum),
(rtsp_ext_real_parse_sdp), (rtsp_ext_real_stream_select),
(_do_init), (gst_rtsp_real_base_init), (gst_rtsp_real_class_init),
(gst_rtsp_real_init), (gst_rtsp_real_finalize),
(gst_rtsp_real_change_state), (gst_rtsp_real_extension_init),
(gst_rtsp_real_plugin_init):
* gst/realmedia/rtspreal.h:
Add RealMedia RTSP extension module. It has rank NONE until it is fully
functional.

17 years agogst/asfdemux/: Move WMS RTSP extension from -good to here.
Wim Taymans [Wed, 25 Jul 2007 18:38:42 +0000 (18:38 +0000)]
gst/asfdemux/: Move WMS RTSP extension from -good to here.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstrtspwms.c: (gst_rtsp_wms_before_send),
(gst_rtsp_wms_after_send), (gst_rtsp_wms_parse_sdp),
(gst_rtsp_wms_configure_stream), (_do_init),
(gst_rtsp_wms_base_init), (gst_rtsp_wms_class_init),
(gst_rtsp_wms_init), (gst_rtsp_wms_finalize),
(gst_rtsp_wms_change_state), (gst_rtsp_wms_extension_init):
* gst/asfdemux/gstrtspwms.h:
Move WMS RTSP extension from -good to here.
Port it to the new pluggable extension interface.

17 years agoext/mad/Makefile.am: Link to audio helper from plugins-base.
Stefan Kost [Tue, 24 Jul 2007 06:58:41 +0000 (06:58 +0000)]
ext/mad/Makefile.am: Link to audio helper from plugins-base.

Original commit message from CVS:
* ext/mad/Makefile.am:
Link to audio helper from plugins-base.

17 years agoUse the new buffer clipping function from gstaudio here and require gst-plugins-base...
Sebastian Dröge [Tue, 24 Jul 2007 05:05:29 +0000 (05:05 +0000)]
Use the new buffer clipping function from gstaudio here and require gst-plugins-base CVS.

Original commit message from CVS:
* configure.ac:
* ext/mad/gstmad.c: (gst_mad_chain):
Use the new buffer clipping function from gstaudio here and
require gst-plugins-base CVS.

17 years agoconfigure.ac: Sync liboil check with plugins-base. Add libm check.
Stefan Kost [Mon, 23 Jul 2007 09:07:19 +0000 (09:07 +0000)]
configure.ac: Sync liboil check with plugins-base. Add libm check.

Original commit message from CVS:
* configure.ac:
Sync liboil check with plugins-base. Add libm check.
* gst/synaesthesia/Makefile.am:
Link against libm. We're using sqrt here.

17 years agogst/asfdemux/gstasfdemux.c: Include stdlib.
Stefan Kost [Fri, 20 Jul 2007 07:58:25 +0000 (07:58 +0000)]
gst/asfdemux/gstasfdemux.c: Include stdlib.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
Include stdlib.

17 years agoext/annodex/Makefile.am: Fix CFLAGS/LIBS.
Stefan Kost [Fri, 20 Jul 2007 07:41:57 +0000 (07:41 +0000)]
ext/annodex/Makefile.am: Fix CFLAGS/LIBS.

Original commit message from CVS:
* ext/annodex/Makefile.am:
Fix CFLAGS/LIBS.
* ext/cdio/gstcdiocddasrc.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
Include stdlib
* ext/cairo/Makefile.am:
* gst/videofilter/Makefile.am:
* tests/examples/level/Makefile.am:
Use $(LIBM) instead of -lm

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Save some memory for each frame by only savin...
Sebastian Dröge [Wed, 18 Jul 2007 17:51:55 +0000 (17:51 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Save some memory for each frame by only saving the start timestamp and start ...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_reset),
(gst_mp3parse_emit_frame), (mp3parse_handle_seek):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Save some memory for each frame by only saving the start timestamp
and start byte position instead of additionally the stop timestamp
and stop byte position. This requires us to use a doubly-linked list
but still saves 8-12 bytes per frame.

17 years agoext/mad/gstmad.c: Fix buffer clipping to correctly clip to the segment stop.
Sebastian Dröge [Mon, 16 Jul 2007 09:14:18 +0000 (09:14 +0000)]
ext/mad/gstmad.c: Fix buffer clipping to correctly clip to the segment stop.

Original commit message from CVS:
* ext/mad/gstmad.c: (clip_outgoing_buffer):
Fix buffer clipping to correctly clip to the segment stop.

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: Fix a calculation that was causing mp3parse...
Jan Schmidt [Sun, 15 Jul 2007 19:39:46 +0000 (19:39 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Fix a calculation that was causing mp3parse to drop every incoming frame when...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_emit_frame):
Fix a calculation that was causing mp3parse to drop every incoming
frame when upstream delivered a segment in TIME format, breaking
playback of all mpeg system streams.

17 years agoRemove bogus check for libcheck, since we check for gstreamer-check and it pulls...
Jan Schmidt [Fri, 13 Jul 2007 16:46:35 +0000 (16:46 +0000)]
Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from and we wer...

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from
and we weren't actually _using_ the information for
libcheck ourselves anyway.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Implement accurate seeking in mpegaudioparse...
Sebastian Dröge [Fri, 13 Jul 2007 16:27:56 +0000 (16:27 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Implement accurate seeking in mpegaudioparse. Fixes #308312.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_reset),
(gst_mp3parse_init), (gst_mp3parse_dispose),
(gst_mp3parse_sink_event), (mp3parse_seek_table_last_entry),
(gst_mp3parse_emit_frame), (gst_mp3parse_chain),
(mp3parse_handle_seek), (mp3parse_src_query):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Implement accurate seeking in mpegaudioparse. Fixes #308312.
Also implement segment seeks.

17 years agoext/mad/gstmad.*: Implement buffer clipping and use GST_BOILERPLATE instead of manual
Sebastian Dröge [Fri, 13 Jul 2007 15:46:13 +0000 (15:46 +0000)]
ext/mad/gstmad.*: Implement buffer clipping and use GST_BOILERPLATE instead of manual

Original commit message from CVS:
* ext/mad/gstmad.c: (_do_init), (gst_mad_init), (index_seek),
(normal_seek), (gst_mad_sink_event), (clip_outgoing_buffer),
(gst_mad_chain), (gst_mad_change_state):
* ext/mad/gstmad.h:
Implement buffer clipping and use GST_BOILERPLATE instead of manual
GType magic. Part one of bug #308312.

17 years agoconfigure.ac: Use pkg-config to locate check.
Stefan Kost [Thu, 12 Jul 2007 11:21:23 +0000 (11:21 +0000)]
configure.ac: Use pkg-config to locate check.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check.

17 years agoFix build against core CVS by not using deprecated API. Bump requirements for new...
Tim-Philipp Müller [Wed, 11 Jul 2007 23:18:14 +0000 (23:18 +0000)]
Fix build against core CVS by not using deprecated API. Bump requirements for new API (overdue anyway).

Original commit message from CVS:
* configure.ac:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_descramble_buffer):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_raw):
Fix build against core CVS by not using deprecated API. Bump
requirements for new API (overdue anyway).

17 years agoREQUIREMENTS: Also add amr-libs here and update a little.
Stefan Kost [Mon, 9 Jul 2007 06:05:48 +0000 (06:05 +0000)]
REQUIREMENTS: Also add amr-libs here and update a little.

Original commit message from CVS:
* REQUIREMENTS:
Also add amr-libs here and update a little.

17 years agodocs/plugins/inspect/: Add inspect file for synaesthesia so the docs can be built...
Tim-Philipp Müller [Fri, 6 Jul 2007 17:59:29 +0000 (17:59 +0000)]
docs/plugins/inspect/: Add inspect file for synaesthesia so the docs can be built even if the plugin isn't built yet....

Original commit message from CVS:
* docs/plugins/inspect/plugin-dvdnav.xml:
* docs/plugins/inspect/plugin-realmedia.xml:
* docs/plugins/inspect/plugin-synaesthesia.xml:
Add inspect file for synaesthesia so the docs can be built even if
the plugin isn't built yet. Fixes #454311. Also add inspect files
for dvdnavsrc and realmedia.

17 years agodocs/plugins/Makefile.am: Simplify --extra-dir as gtkdoc scans recursively.
Stefan Kost [Thu, 5 Jul 2007 08:44:30 +0000 (08:44 +0000)]
docs/plugins/Makefile.am: Simplify --extra-dir as gtkdoc scans recursively.

Original commit message from CVS:
* docs/plugins/Makefile.am:
Simplify --extra-dir as gtkdoc scans recursively.

17 years agoAnd yet more docs enabled.
Stefan Kost [Tue, 3 Jul 2007 13:05:01 +0000 (13:05 +0000)]
And yet more docs enabled.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* gst/synaesthesia/Makefile.am:
* gst/synaesthesia/gstsynaesthesia.c:
* gst/synaesthesia/gstsynaesthesia.h:
And yet more docs enabled.

17 years agodocs/plugins/: Add new docs. Scan c++ files too.
Stefan Kost [Tue, 3 Jul 2007 11:55:45 +0000 (11:55 +0000)]
docs/plugins/: Add new docs. Scan c++ files too.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
Add new docs. Scan c++ files too.
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_base_init),
(gst_amrnbdec_event):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_base_init):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_base_init),
(gst_amrnbparse_loop):
Add documentation headers.
* ext/mad/gstmad.c:
* ext/mad/gstmad.h:
Refactor for docs.

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: Use GST_BOILERPLATE instead of manual GType...
Sebastian Dröge [Sun, 1 Jul 2007 19:12:32 +0000 (19:12 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Use GST_BOILERPLATE instead of manual GType magic.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_base_init),
(gst_mp3parse_init):
Use GST_BOILERPLATE instead of manual GType magic.
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_handle_first_frame), (mp3parse_time_to_bytepos),
(mp3parse_bytepos_to_time):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Implement seeking, byte->time, time->byte conversions with the Xing
seek table if available. This allows better at least a bit more
accurate seeks and file position reporting.

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: Copy the complete Xing seek table in the...
Sebastian Dröge [Thu, 28 Jun 2007 20:33:51 +0000 (20:33 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Copy the complete Xing seek table in the 100 byte array instead of copying th...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_handle_first_frame):
Copy the complete Xing seek table in the 100 byte array instead of
copying the first byte 100 times.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3parse_total_bytes),
(mp3parse_total_time), (mp3parse_time_to_bytepos):
Add seeking support based on the Xing header but comment it out for
now as it seems to yield worse result than the other method.
Also use gst_pad_query_peer_duration() instead of getting the peer pad
ourself, creating a new GstQuery, etc.

17 years agodocs/plugins/: Update docs with caps info.
Stefan Kost [Mon, 25 Jun 2007 12:46:47 +0000 (12:46 +0000)]
docs/plugins/: Update docs with caps info.

Original commit message from CVS:
* docs/plugins/gst-plugins-ugly-plugins.args:
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
Update docs with caps info.

17 years agopo/POTFILES.in: Make sure dvdnav strings get translated too (no reason not to have...
Tim-Philipp Müller [Mon, 25 Jun 2007 12:25:09 +0000 (12:25 +0000)]
po/POTFILES.in: Make sure dvdnav strings get translated too (no reason not to have them in the .po file, even if the ...

Original commit message from CVS:
* po/POTFILES.in:
Make sure dvdnav strings get translated too (no reason not to have
them in the .po file, even if the plugin is disabled for now).
Fixes #450879.

17 years agoext/amrnb/: Add newsegment and discont handling. Some code cleanups.
Stefan Kost [Mon, 25 Jun 2007 11:46:24 +0000 (11:46 +0000)]
ext/amrnb/: Add newsegment and discont handling. Some code cleanups.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_base_init),
(gst_amrnbdec_event), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_base_init),
(gst_amrnbparse_loop):
Add newsegment and discont handling. Some code cleanups.

17 years agoext/dvdread/dvdreadsrc.c: check for an error from
David Schleef [Mon, 25 Jun 2007 07:55:51 +0000 (07:55 +0000)]
ext/dvdread/dvdreadsrc.c: check for an error from

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: check for an error from
DVDReadBlocks() correctly.

17 years agoext/dvdread/dvdreadsrc.c: If we can't read a nav packet, or it doesn't look like...
David Schleef [Mon, 25 Jun 2007 07:22:10 +0000 (07:22 +0000)]
ext/dvdread/dvdreadsrc.c: If we can't read a nav packet, or it doesn't look like a nav packet, that's an error.  Prev...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c:
If we can't read a nav packet, or it doesn't look like a nav
packet, that's an error.  Previous behavior was to look at
the next packet; I can't find any justification for doing that.
Fixes: #358891.

17 years agopo/it.po: Updated Italian translation.
Thomas Vander Stichele [Sat, 23 Jun 2007 22:57:29 +0000 (22:57 +0000)]
po/it.po: Updated Italian translation.

Original commit message from CVS:
* po/it.po:
Updated Italian translation.

17 years agopo/vi.po: Updated Vietnames translation.
Thomas Vander Stichele [Sat, 23 Jun 2007 11:22:39 +0000 (11:22 +0000)]
po/vi.po: Updated Vietnames translation.

Original commit message from CVS:
* po/vi.po:
Updated Vietnames translation.

17 years agopo/: Added Chinese (simplified) translation.
Thomas Vander Stichele [Sat, 23 Jun 2007 11:21:54 +0000 (11:21 +0000)]
po/: Added Chinese (simplified) translation.

Original commit message from CVS:
contributed by: Wenzheng Hu <db_lobster@163.com>
* po/LINGUAS:
* po/zh_CN.po:
Added Chinese (simplified) translation.

17 years agoMAINTAINERS: Updating all the maintainers files
Jan Schmidt [Fri, 22 Jun 2007 14:27:18 +0000 (14:27 +0000)]
MAINTAINERS: Updating all the maintainers files

Original commit message from CVS:
* MAINTAINERS:
Updating all the maintainers files

17 years agoFix leaks some more.
Edward Hervey [Fri, 22 Jun 2007 10:57:06 +0000 (10:57 +0000)]
Fix leaks some more.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_init):
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_init):
* gst/iec958/ac3iec.c: (ac3iec_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_init):
Fix leaks some more.

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: "She's leaking me", said valgrind.
Edward Hervey [Thu, 21 Jun 2007 14:33:58 +0000 (14:33 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: "She's leaking me", said valgrind.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init):
"She's leaking me", said valgrind.

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: Fix "pad caps are not a real subset of its...
Jan Schmidt [Tue, 19 Jun 2007 14:40:20 +0000 (14:40 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Fix "pad caps are not a real subset of its template caps" warning.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_caps_create):
Fix "pad caps are not a real subset of its template caps" warning.

17 years agoext/amrnb/amrnbdec.c: Don't leak the adapter, unref it in a new finalize method instead.
Laurent Glayal [Tue, 19 Jun 2007 14:15:50 +0000 (14:15 +0000)]
ext/amrnb/amrnbdec.c: Don't leak the adapter, unref it in a new finalize method instead.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init),
(gst_amrnbdec_finalize):
Don't leak the adapter, unref it in a new finalize method instead.
Fixes #448782.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Tue, 19 Jun 2007 10:43:26 +0000 (10:43 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS
* gst-plugins-ugly.doap:
Add 0.10.6 to the list of releases.

17 years agoRelease 0.10.6
Jan Schmidt [Tue, 19 Jun 2007 10:31:04 +0000 (10:31 +0000)]
Release 0.10.6

Original commit message from CVS:
Release 0.10.6

17 years agoUpdate .po files
Jan Schmidt [Tue, 19 Jun 2007 10:21:25 +0000 (10:21 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agowin32/vs6/: Convert line endings to CRLF and mark as binary files.
Jan Schmidt [Fri, 15 Jun 2007 09:31:16 +0000 (09:31 +0000)]
win32/vs6/: Convert line endings to CRLF and mark as binary files.

Original commit message from CVS:
* win32/vs6/gst_plugins_ugly.dsw:
* win32/vs6/libgstac3parse.dsp:
* win32/vs6/libgstasfdemux.dsp:
* win32/vs6/libgstdvdlpcmdec.dsp:
* win32/vs6/libgstdvdsub.dsp:
* win32/vs6/libgstiec958.dsp:
* win32/vs6/libgstlame.dsp:
* win32/vs6/libgstmad.dsp:
* win32/vs6/libgstmpegaudioparse.dsp:
* win32/vs6/libgstmpegstream.dsp:
* win32/vs6/libgstrealmedia.dsp:
* win32/vs6/libgstsynaesthesia.dsp:
Convert line endings to CRLF and mark as binary files.

17 years agoext/dvdnav/dvdnavsrc.c: Don't forget to unlock when setting the device property,...
Tim-Philipp Müller [Wed, 13 Jun 2007 14:29:39 +0000 (14:29 +0000)]
ext/dvdnav/dvdnavsrc.c: Don't forget to unlock when setting the device property, or we'll sooner or later deadlock.

Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_set_property):
Don't forget to unlock when setting the device property, or
we'll sooner or later deadlock.

17 years agogst/dvdsub/gstdvdsubdec.c: Use gst_util_guint64_to_gdouble for conversion.
Sébastien Moutte [Tue, 12 Jun 2007 21:46:10 +0000 (21:46 +0000)]
gst/dvdsub/gstdvdsubdec.c: Use gst_util_guint64_to_gdouble for conversion.

Original commit message from CVS:
* gst/dvdsub/gstdvdsubdec.c:(gst_dvd_sub_dec_parse_subpic):
Use gst_util_guint64_to_gdouble for conversion.
* win32/vs6/libgstasfdemux.dsp:
Add asfpacket.c to the build.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: If the Xing header provides a total time...
Jan Schmidt [Fri, 8 Jun 2007 08:39:43 +0000 (08:39 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: If the Xing header provides a total time, use it to calculate the correct ave...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_reset),
(gst_mp3parse_emit_frame), (gst_mp3parse_handle_first_frame):
* gst/mpegaudioparse/gstmpegaudioparse.h:
If the Xing header provides a total time, use it to calculate the
correct average bitrate immediately, instead of sending updates as
we parse the stream.

17 years agogst/dvdsub/gstdvdsubdec.c: Use GstClockTime instead of guint for a time variable...
by Mark Nauwelaerts [Tue, 5 Jun 2007 21:47:29 +0000 (21:47 +0000)]
gst/dvdsub/gstdvdsubdec.c: Use GstClockTime instead of guint for a time variable to prevent overflows on too large su...

Original commit message from CVS:
Patch by by: Mark Nauwelaerts <manauw at skynet dot be>
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_parse_subpic):
Use GstClockTime instead of guint for a time variable to prevent
overflows on too large subtitle durations. Fixes #444514.

17 years agogst/dvdsub/gstdvdsubdec.c: Clear state when handling the serialized FLUSH_STOP event...
Mark Nauwelaerts [Thu, 31 May 2007 22:33:26 +0000 (22:33 +0000)]
gst/dvdsub/gstdvdsubdec.c: Clear state when handling the serialized FLUSH_STOP event instead of the FLUSH_START event...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_sink_event):
Clear state when handling the serialized FLUSH_STOP event instead of
the FLUSH_START event, thereby making sure we don't free buffers the
chain function is still using. Fixes dvdsubdec crashing when flusing
or seeking (#442706).

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: Initialise variable to make fc4 build bot...
Tim-Philipp Müller [Wed, 23 May 2007 11:16:09 +0000 (11:16 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: Initialise variable to make fc4 build bot happy.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Initialise variable to make fc4 build bot happy.

17 years agogst/mpegstream/gstmpegdemux.c: Add sanity check so we don't abort for broken or non...
Tim-Philipp Müller [Mon, 21 May 2007 15:11:45 +0000 (15:11 +0000)]
gst/mpegstream/gstmpegdemux.c: Add sanity check so we don't abort for broken or non-MPEG streams, but instead error o...

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
Add sanity check so we don't abort for broken or non-MPEG streams,
but instead error out. Fixes crashes/aborts for when our typefinder
wrongly identifies quicktime files as mpeg (which should be fixed in
-base now too). (#440120).

17 years agoext/amrnb/amrnbdec.c (gst_amrnbdec_debug, GST_CAT_DEFAULT, block_size, _do_init,...
Stefan Kost [Fri, 18 May 2007 09:35:17 +0000 (09:35 +0000)]
ext/amrnb/amrnbdec.c (gst_amrnbdec_debug, GST_CAT_DEFAULT, block_size, _do_init, gst_amrnbdec_base_init, gst_amrnbdec...

Original commit message from CVS:
* ext/amrnb/amrnbdec.c (gst_amrnbdec_debug, GST_CAT_DEFAULT,
block_size, _do_init, gst_amrnbdec_base_init,
gst_amrnbdec_class_init, gst_amrnbdec_init):
* ext/amrnb/amrnbenc.c (gst_amrnbenc_debug, GST_CAT_DEFAULT, _do_init,
gst_amrnbenc_base_init, gst_amrnbenc_class_init, gst_amrnbenc_init):
* ext/amrnb/amrnbparse.c (gst_amrnbparse_debug, GST_CAT_DEFAULT,
block_size, _do_init, gst_amrnbparse_base_init,
gst_amrnbparse_class_init, gst_amrnbparse_init):
First round of cleanups, that use GST_BOILERPLATE, GST_ELEMENT_DETAILS,
GST_DEBUG_FUNCPTR and add log-category.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Implement parsing of Xing headers from the...
Jan Schmidt [Fri, 18 May 2007 08:42:25 +0000 (08:42 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Implement parsing of Xing headers from the first frame of the stream, and use...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_reset),
(gst_mp3parse_emit_frame), (gst_mp3parse_handle_first_frame),
(gst_mp3parse_chain), (mp3parse_total_bytes),
(mp3parse_total_time):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Implement parsing of Xing headers from the first frame of the stream,
and use it to report duration correctly where possible.

17 years agogst/realmedia/rmdemux.c: After descrambling, push the packets out as individual packe...
Tim-Philipp Müller [Wed, 16 May 2007 19:15:13 +0000 (19:15 +0000)]
gst/realmedia/rmdemux.c: After descrambling, push the packets out as individual packets instead of one big descramble...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_descramble_cook_audio):
After descrambling, push the packets out as individual packets
instead of one big descrambled buffer. Makes cook audio decoding
work with the 'realaudiodec' decoder from gst-plugins-bad.

17 years agogst/realmedia/rmdemux.*: Remember first timestamp encountered in stream and re-timest...
Tim-Philipp Müller [Wed, 16 May 2007 19:07:45 +0000 (19:07 +0000)]
gst/realmedia/rmdemux.*: Remember first timestamp encountered in stream and re-timestamp stream to start from zero (f...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_init),
(gst_rmdemux_sink_event), (gst_rmdemux_perform_seek),
(gst_rmdemux_reset), (gst_rmdemux_chain), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_packet):
* gst/realmedia/rmdemux.h:
Remember first timestamp encountered in stream and re-timestamp
stream to start from zero (fixes #397219); only send one newsegment
event, not two; when seeking, send newsegment events from the
streaming thread and not from the seeking thread.

17 years agogst/mpegstream/: Reset last_flow values for the various streams after a flushing...
Mark Nauwelaerts [Wed, 16 May 2007 12:48:43 +0000 (12:48 +0000)]
gst/mpegstream/: Reset last_flow values for the various streams after a flushing seek, otherwise we might aggregate w...

Original commit message from CVS:
Based on patch by: Mark Nauwelaerts  <manauw skynet be>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init),
(gst_mpeg_demux_process_event), (gst_mpeg_streams_reset_last_flow):
* gst/mpegstream/gstmpegdemux.h:
Reset last_flow values for the various streams after a flushing
seek, otherwise we might aggregate wrong flow returns afterwards
that will make upstream pause silently. This should fix seeking
in DVDs and also fix the Thoggen cropping dialog (#438610).

17 years agogst/asfdemux/gstasfdemux.*: Activate streams (ie. add the pads to the element) depend...
Tim-Philipp Müller [Mon, 7 May 2007 13:51:43 +0000 (13:51 +0000)]
gst/asfdemux/gstasfdemux.*: Activate streams (ie. add the pads to the element) depending on whether we actually get d...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_reset),
(gst_asf_demux_chain_headers),
(gst_asf_demux_parse_data_object_start), (all_streams_prerolled),
(gst_asf_demux_have_mutually_exclusive_active_stream),
(gst_asf_demux_check_activate_streams),
(gst_asf_demux_find_stream_with_complete_payload),
(gst_asf_demux_push_complete_payloads), (gst_asf_demux_loop),
(gst_asf_demux_activate_ext_props_streams),
(gst_asf_demux_process_object):
* gst/asfdemux/gstasfdemux.h:
Activate streams (ie. add the pads to the element) depending on
whether we actually get data for those streams within the ASF
preroll value specified. Currently only done in pull-mode though
(this will fix problems with playbin hanging on mms streams once
we use this in push-mode as well).

17 years agogst/asfdemux/: Make all timestamps start from zero in pull-mode too; some small clean...
Tim-Philipp Müller [Fri, 4 May 2007 11:04:16 +0000 (11:04 +0000)]
gst/asfdemux/: Make all timestamps start from zero in pull-mode too; some small clean-ups and FIXMEs here and there.

Original commit message from CVS:
* gst/asfdemux/asfpacket.c: (gst_asf_payload_queue_for_stream):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_reset),
(gst_asf_demux_init), (gst_asf_demux_push_complete_payloads),
(gst_asf_demux_process_file):
* gst/asfdemux/gstasfdemux.h:
Make all timestamps start from zero in pull-mode too; some small
clean-ups and FIXMEs here and there.

17 years agogst/asfdemux/asfpacket.c: If packet size is specified within the packet and smaller...
Tim-Philipp Müller [Tue, 1 May 2007 11:10:31 +0000 (11:10 +0000)]
gst/asfdemux/asfpacket.c: If packet size is specified within the packet and smaller than the actual packet size, don'...

Original commit message from CVS:
* gst/asfdemux/asfpacket.c: (gst_asf_demux_parse_payload),
(gst_asf_demux_parse_packet):
If packet size is specified within the packet and smaller than
the actual packet size, don't parse beyond the size specified in
the packet (this makes us parse some cases of packets with single
compressed payloads cleanly, see e.g stream from #431318). Also
add a sanity check when parsing compressed single payloads.

17 years agogst/asfdemux/: Seeking improvements: honour the KEY_UNIT seek flag; after a seek...
Tim-Philipp Müller [Tue, 1 May 2007 09:19:13 +0000 (09:19 +0000)]
gst/asfdemux/: Seeking improvements: honour the KEY_UNIT seek flag; after a seek, only send data from the keyframe ri...

Original commit message from CVS:
* gst/asfdemux/asfpacket.c: (gst_asf_payload_queue_for_stream):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_seek_index_lookup),
(gst_asf_demux_handle_seek_event),
(gst_asf_demux_push_complete_payloads):
Seeking improvements: honour the KEY_UNIT seek flag; after a seek, only
send data from the keyframe right before the new segment start to
make sure the decoder doesn't have to decode more than absolutely
necessary.

17 years agogst/asfdemux/: Implement payload extension system/extended replicated data parsing...
Tim-Philipp Müller [Mon, 30 Apr 2007 15:36:00 +0000 (15:36 +0000)]
gst/asfdemux/: Implement payload extension system/extended replicated data parsing, so we can extract payload duratio...

Original commit message from CVS:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/asfpacket.c:
(asf_payload_parse_replicated_data_extensions),
(gst_asf_demux_parse_payload):
* gst/asfdemux/asfpacket.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_free_stream),
(gst_asf_demux_push_complete_payloads),
(gst_asf_demux_process_ext_stream_props):
* gst/asfdemux/gstasfdemux.h:
Implement payload extension system/extended replicated data parsing,
so we can extract payload durations if they're specified.