platform/upstream/gstreamer.git
18 years agogst/iec958/ac3iec.c: Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.
Edward Hervey [Tue, 28 Feb 2006 13:50:02 +0000 (13:50 +0000)]
gst/iec958/ac3iec.c: Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.

Original commit message from CVS:
* gst/iec958/ac3iec.c:
Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.

18 years agoconfigure.ac: Make the id3tag and mad checks check for both a header and the appropri...
Jan Schmidt [Mon, 27 Feb 2006 18:37:47 +0000 (18:37 +0000)]
configure.ac: Make the id3tag and mad checks check for both a header and the appropriate library if the pkg-config is...

Original commit message from CVS:
* configure.ac:
Make the id3tag and mad checks check for both a header and the
appropriate library if the pkg-config is missing. (Closes #331842)
Split the id3tag and mad checks into 2 pieces. Sometime soon I might
do the same for the plugins themselves.

18 years agoext/mpeg2dec/gstmpeg2dec.*: Don't treat STATE_INVALID as fatal error; throw an error...
Tim-Philipp Müller [Mon, 27 Feb 2006 14:49:05 +0000 (14:49 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Don't treat STATE_INVALID as fatal error; throw an error only after five consecutive deco...

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_reset), (gst_mpeg2dec_chain):
* ext/mpeg2dec/gstmpeg2dec.h:
Don't treat STATE_INVALID as fatal error; throw an error
only after five consecutive decoding errors. Makes decoding
mpeg streams more robust and fixes playback of joined clips
(#300682).

18 years agoext/dvdnav/dvdnavsrc.h: Oops. forgot to add this one.
Tim-Philipp Müller [Sun, 26 Feb 2006 22:33:33 +0000 (22:33 +0000)]
ext/dvdnav/dvdnavsrc.h: Oops. forgot to add this one.

Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.h:
Oops. forgot to add this one.

18 years agoext/Makefile.am: Fix dist-check.
Julien Moutte [Sun, 26 Feb 2006 21:25:01 +0000 (21:25 +0000)]
ext/Makefile.am: Fix dist-check.

Original commit message from CVS:
2006-02-26  Julien MOUTTE  <julien@moutte.net>

* ext/Makefile.am: Fix dist-check.

18 years agoconfigure.ac: Disable dvdnavsrc for now.
Tim-Philipp Müller [Sun, 26 Feb 2006 18:01:15 +0000 (18:01 +0000)]
configure.ac: Disable dvdnavsrc for now.

Original commit message from CVS:
* configure.ac:
Disable dvdnavsrc for now.

18 years agodvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time...
Tim-Philipp Müller [Sun, 26 Feb 2006 17:55:05 +0000 (17:55 +0000)]
dvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time yet though.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dvdnav/Makefile.am:
* ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_base_init),
(gst_dvd_nav_src_class_init), (gst_dvd_nav_src_check_get_range),
(gst_dvd_nav_src_init), (gst_dvd_nav_src_finalize),
(gst_dvd_nav_src_is_open), (gst_dvd_nav_src_set_property),
(gst_dvd_nav_src_get_property), (gst_dvd_nav_src_set_clock),
(gst_dvd_nav_src_tca_seek), (gst_dvd_nav_src_update_streaminfo),
(gst_dvd_nav_src_set_domain), (gst_dvd_nav_src_update_highlight),
(gst_dvd_nav_src_user_op), (dvdnav_get_event_name),
(dvdnav_get_read_domain_name), (gst_dvd_nav_src_print_event),
(gst_dvd_nav_src_make_dvd_event),
(gst_dvd_nav_src_structure_set_uint64),
(gst_dvd_nav_src_push_dvd_nav_packet_event),
(gst_dvd_nav_src_push_clut_change_event), (read_vts_info),
(gst_dvd_nav_src_push_titlelang_event),
(gst_dvd_nav_src_process_next_block), (gst_dvd_nav_src_create),
(gst_dvd_nav_src_start), (gst_dvd_nav_src_stop),
(gst_dvd_nav_src_handle_navigation_event),
(gst_dvd_nav_src_handle_seek_event), (gst_dvd_nav_src_src_event),
(gst_dvd_nav_src_query_position), (gst_dvd_nav_src_query_duration),
(gst_dvd_nav_src_query), (gst_dvd_nav_src_uri_get_type),
(gst_dvd_nav_src_uri_get_protocols), (gst_dvd_nav_src_uri_get_uri),
(gst_dvd_nav_src_uri_set_uri), (gst_dvd_nav_src_uri_handler_init),
(gst_dvd_nav_src_do_init), (plugin_init):
dvdnavsrc ported to 0.10, for the most part at least. Not quite
ready for prime time yet though.

18 years agoext/cdio/Makefile.am: Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be required...
Tim-Philipp Müller [Thu, 23 Feb 2006 20:08:58 +0000 (20:08 +0000)]
ext/cdio/Makefile.am: Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be required for Cygwin, see #317048)

Original commit message from CVS:
* ext/cdio/Makefile.am:
Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be
required for Cygwin, see #317048)
* gst/rtp/gstasteriskh263.c:
Cygwin has includes for both the unix network socket API
and the windows API, but only one can be included, so fix
includes to only use one or the other, prefering the unxi
one (#317048).

18 years agoPort dvdsubdec to 0.10
Tim-Philipp Müller [Wed, 22 Feb 2006 14:54:54 +0000 (14:54 +0000)]
Port dvdsubdec to 0.10

Original commit message from CVS:
* configure.ac:
* gst/dvdsub/Makefile.am:
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_base_init),
(gst_dvd_sub_dec_class_init), (gst_dvd_sub_dec_init),
(gst_dvd_sub_dec_finalize), (gst_dvd_sub_dec_src_event),
(gst_dvd_sub_dec_get_event_delay), (gst_dvd_sub_dec_parse_subpic),
(gst_get_nibble), (gst_setup_palette), (gst_get_rle_code),
(gst_draw_rle_line), (gst_dvd_sub_dec_merge_title),
(gst_send_empty_fill), (gst_send_subtitle_frame),
(gst_dvd_sub_dec_advance_time), (gst_dvd_sub_dec_chain),
(gst_dvd_sub_dec_sink_event), (gst_dvd_sub_dec_handle_dvd_event),
(plugin_init):
* gst/dvdsub/gstdvdsubdec.h:
Port dvdsubdec to 0.10

18 years agogst/mpegstream/gstdvddemux.c: Push the rank up to SECONDARY+1 so that dvddemux is...
Jan Schmidt [Tue, 21 Feb 2006 16:24:10 +0000 (16:24 +0000)]
gst/mpegstream/gstdvddemux.c: Push the rank up to SECONDARY+1 so that dvddemux is preferred over mpegdemux for MPEG-2...

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_plugin_init):
Push the rank up to SECONDARY+1 so that dvddemux is preferred over
mpegdemux for MPEG-2 video streams.

18 years agoconfigure.ac: Bump nano back to CVS
Jan Schmidt [Mon, 20 Feb 2006 19:16:10 +0000 (19:16 +0000)]
configure.ac: Bump nano back to CVS

Original commit message from CVS:

* configure.ac:
Bump nano back to CVS

18 years agoconfigure.ac: releasing 0.10.2, "Season to Taste"
Jan Schmidt [Mon, 20 Feb 2006 19:13:54 +0000 (19:13 +0000)]
configure.ac: releasing 0.10.2, "Season to Taste"

Original commit message from CVS:
* configure.ac:
releasing 0.10.2, "Season to Taste"

18 years agoconfigure.ac: releasing 0.10.1.3 prelease for 0.10.2
Jan Schmidt [Sun, 19 Feb 2006 23:45:34 +0000 (23:45 +0000)]
configure.ac: releasing 0.10.1.3 prelease for 0.10.2

Original commit message from CVS:
* configure.ac:
releasing 0.10.1.3 prelease for 0.10.2

18 years agogst/asfdemux/gstasfdemux.c: In sink event handler, release object lock again _before_...
Tim-Philipp Müller [Fri, 17 Feb 2006 17:58:44 +0000 (17:58 +0000)]
gst/asfdemux/gstasfdemux.c: In sink event handler, release object lock again _before_ sending EOS event downstream (#...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event):
In sink event handler, release object lock again
_before_ sending EOS event downstream (#313838).

18 years agofix rank of asfdemux
Christian Schaller [Fri, 17 Feb 2006 17:54:37 +0000 (17:54 +0000)]
fix rank of asfdemux

Original commit message from CVS:
fix rank of asfdemux

18 years agoconfigure.ac: releasing 0.10.1.2 prelease for 0.10.2
Jan Schmidt [Fri, 17 Feb 2006 15:08:28 +0000 (15:08 +0000)]
configure.ac: releasing 0.10.1.2 prelease for 0.10.2

Original commit message from CVS:
* configure.ac:
releasing 0.10.1.2 prelease for 0.10.2

18 years agolatest updates
Christian Schaller [Fri, 17 Feb 2006 15:02:30 +0000 (15:02 +0000)]
latest updates

Original commit message from CVS:
latest updates

18 years agoext/mpeg2dec/gstmpeg2dec.c: When we need to crop the output buffer, make sure we...
Tim-Philipp Müller [Fri, 17 Feb 2006 11:51:12 +0000 (11:51 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: When we need to crop the output buffer, make sure we create a buffer of the right size an...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_copy_i420_buffer),
(crop_copy_i422_buffer), (crop_buffer):
When we need to crop the output buffer, make sure we
create a buffer of the right size and respect the implicit
striding used for I420 elsewhere in GStreamer (#331301).

18 years agoext/cdio/gstcdio.c: Init debug category (#331253).
Tim-Philipp Müller [Fri, 17 Feb 2006 11:19:34 +0000 (11:19 +0000)]
ext/cdio/gstcdio.c: Init debug category (#331253).

Original commit message from CVS:
* ext/cdio/gstcdio.c: (plugin_init):
Init debug category (#331253).

18 years agogst/asfdemux/gstasfdemux.c: Do not error out on non-recognized streams. Ignore them...
Edward Hervey [Fri, 17 Feb 2006 10:24:56 +0000 (10:24 +0000)]
gst/asfdemux/gstasfdemux.c: Do not error out on non-recognized streams. Ignore them and allow playback of the other s...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_stream):
Do not error out on non-recognized streams. Ignore them and allow
playback of the other streams.

18 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Add a small sanity check for LPCM reading.
Jan Schmidt [Fri, 17 Feb 2006 10:10:40 +0000 (10:10 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Add a small sanity check for LPCM reading.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_dvd):
Add a small sanity check for LPCM reading.

18 years agogst/asfdemux/gstasfdemux.c: Take into account the file properties preroll value for...
Edward Hervey [Fri, 17 Feb 2006 09:54:43 +0000 (09:54 +0000)]
gst/asfdemux/gstasfdemux.c: Take into account the file properties preroll value for timestamping/newsegment. It's wei...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file):
Take into account the file properties preroll value for
timestamping/newsegment. It's weird this value was commented out.

18 years agogst/asfdemux/Makefile.am: More asf makefile fixing.
Wim Taymans [Thu, 16 Feb 2006 17:57:59 +0000 (17:57 +0000)]
gst/asfdemux/Makefile.am: More asf makefile fixing.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
More asf makefile fixing.

18 years agoext/lame/gstlame.c: Fix up lame a bit.
Wim Taymans [Thu, 16 Feb 2006 17:16:06 +0000 (17:16 +0000)]
ext/lame/gstlame.c: Fix up lame a bit.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_change_state):
Fix up lame a bit.
Apply patch #319782 by Gautier Portet.

18 years agogst/asfdemux/Makefile.am: But we do need to link against the riff libraryr.
Edward Hervey [Thu, 16 Feb 2006 11:14:11 +0000 (11:14 +0000)]
gst/asfdemux/Makefile.am: But we do need to link against the riff libraryr.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
But we do need to link against the riff libraryr.

18 years agogst/asfdemux/Makefile.am: We don't want asfmux.c yet.
Edward Hervey [Thu, 16 Feb 2006 11:08:51 +0000 (11:08 +0000)]
gst/asfdemux/Makefile.am: We don't want asfmux.c yet.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
We don't want asfmux.c yet.

18 years agoext/mad/gstmad.c: Port fixes for bugs 314771, 308772, 140237, and 302625
Jon Trowbridge [Thu, 16 Feb 2006 09:50:43 +0000 (09:50 +0000)]
ext/mad/gstmad.c: Port fixes for bugs 314771, 308772, 140237, and 302625

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_init), (scale), (gst_mad_update_info),
(gst_mad_sink_event), (gst_mad_check_caps_reset), (gst_mad_chain),
(gst_mad_change_state):
Port fixes for bugs 314771, 308772, 140237, and 302625
from 0.8 (Patch by Jonathan Matthew, Fixes #329575)
Use GST_EVENT_FLUSH_STOP to clear data from the current input
buffer, to avoid using it for any future decoding.

18 years agoasfdemux ported to 0.10. Does still need a bit of work (seems like there's something...
Tim-Philipp Müller [Wed, 15 Feb 2006 15:48:07 +0000 (15:48 +0000)]
asfdemux ported to 0.10. Does still need a bit of work (seems like there's something funky going on when timestamping...

Original commit message from CVS:
* configure.ac:
* gst/asfdemux/asfheaders.c: (gst_asf_identify_guid),
(gst_asf_get_guid_nick):
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_class_init), (gst_asf_demux_init),
(gst_asf_demux_sink_event), (gst_asf_demux_handle_seek_event),
(gst_asf_demux_handle_src_event),
(gst_asf_demux_get_current_offset), (gst_asf_demux_chain),
(gst_asf_demux_skip_bytes), (gst_asf_demux_identify_guid),
(gst_asf_demux_get_uint8), (gst_asf_demux_get_uint16),
(gst_asf_demux_get_uint32), (gst_asf_demux_get_uint64),
(gst_asf_demux_get_var_length), (gst_asf_demux_get_buffer),
(gst_asf_demux_get_bytes), (gst_asf_demux_get_string),
(gst_asf_demux_get_guid), (gst_asf_demux_get_obj_file),
(gst_asf_demux_get_bitrate_record),
(gst_asf_demux_get_obj_comment), (gst_asf_demux_get_obj_header),
(gst_asf_demux_get_obj_header_ext), (gst_asf_demux_get_obj_stream),
(gst_asf_demux_get_replicated_data), (gst_asf_demux_get_obj_data),
(gst_asf_demux_get_obj_data_correction),
(gst_asf_demux_get_stream_audio),
(gst_asf_demux_get_stream_correction),
(gst_asf_demux_get_stream_video),
(gst_asf_demux_get_stream_video_format),
(gst_asf_demux_get_stream), (gst_asf_demux_setup_pad),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_stream),
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_commit_taglist),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_get_object_header), (gst_asf_demux_process_data),
(gst_asf_demux_process_header), (gst_asf_demux_process_file),
(gst_asf_demux_process_comment),
(gst_asf_demux_process_bitrate_props_object),
(gst_asf_demux_process_header_ext), (gst_asf_demux_process_object),
(gst_asf_demux_descramble_segment),
(gst_asf_demux_element_send_event),
(gst_asf_demux_send_event_unlocked), (gst_asf_demux_push_buffer),
(gst_asf_demux_process_chunk), (gst_asf_demux_process_segment),
(gst_asf_demux_handle_data), (gst_asf_demux_parse_data),
(gst_asf_demux_get_src_query_types),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
asfdemux ported to 0.10. Does still need a bit of work (seems like
there's something funky going on when timestamping video frames).
The seeking code is likely to make Wim cry, but hey, at least it
compiles.

18 years agoext/amrnb/amrnbdec.c: Some more comments.
Wim Taymans [Wed, 15 Feb 2006 10:18:39 +0000 (10:18 +0000)]
ext/amrnb/amrnbdec.c: Some more comments.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_setcaps),
(gst_amrnbdec_chain), (gst_amrnbdec_state_change):
Some more comments.

* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice):
Applied patch from Fabrizio Gennari, fixes #330844.

18 years agoext/dvdread/dvdreadsrc.*: Let's try to play the title the user set via the URI handle...
Tim-Philipp Müller [Tue, 14 Feb 2006 14:57:18 +0000 (14:57 +0000)]
ext/dvdread/dvdreadsrc.*: Let's try to play the title the user set via the URI handler or via properties instead of a...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_init),
(gst_dvd_read_src_class_init), (gst_dvd_read_src_start),
(gst_dvd_read_src_stop), (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_set_property), (gst_dvd_read_src_get_property),
(gst_dvd_read_src_uri_get_uri), (gst_dvd_read_src_uri_set_uri):
* ext/dvdread/dvdreadsrc.h:
Let's try to play the title the user set via the URI handler or
via properties instead of always playing the first title. Also,
Also, count title/chapter/angle number in URI and properties
from 1 rather than 0.

18 years agoext/dvdread/dvdreadsrc.c: Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seek...
Tim-Philipp Müller [Mon, 13 Feb 2006 14:09:26 +0000 (14:09 +0000)]
ext/dvdread/dvdreadsrc.c: Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable, otherwise GstBaseSrc will ...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_get_size), (gst_dvd_read_src_do_seek),
(gst_dvd_read_src_do_duration_query):
Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable,
otherwise GstBaseSrc will think we can operate pull_range based,
which we don't really, and typefinding will fail miserably.
Also, make seeking work somewhat (only works with flumpegdemux
at the moment, mpegstream needs fixing for that first).

18 years agoext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need...
Tim-Philipp Müller [Mon, 13 Feb 2006 14:00:35 +0000 (14:00 +0000)]
ext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need, rather than gratuitously alloca...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read),
(gst_dvd_read_src_create), (gst_dvd_read_src_src_event):
Only allocate buffer once we know exactly how much we need,
rather than gratuitously allocating 2MB-buffers all the time
even if we usually need much less than that. Also, demote
a debug message from DEBUG to LOG level.

18 years agoext/dvdread/dvdreadsrc.c: Add some more debugging and fix duration query in BYTES.
Tim-Philipp Müller [Fri, 10 Feb 2006 12:40:54 +0000 (12:40 +0000)]
ext/dvdread/dvdreadsrc.c: Add some more debugging and fix duration query in BYTES.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_seekable), (gst_dvd_read_src_get_size),
(gst_dvd_read_src_do_seek), (gst_dvd_read_src_do_duration_query),
(gst_dvd_read_src_do_position_query):
Add some more debugging and fix duration query in BYTES.

18 years agoHalf-baked port to 0.10. Needs some love in the seeking department, but at least...
Tim-Philipp Müller [Thu, 9 Feb 2006 17:27:57 +0000 (17:27 +0000)]
Half-baked port to 0.10. Needs some love in the seeking department, but at least it does something.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/dvdread/dvdreadsrc.c:
* ext/dvdread/dvdreadsrc.h:
Half-baked port to 0.10. Needs some love
in the seeking department, but at least
it does something.
* ext/dvdread/stream_labels.c:
* ext/dvdread/stream_labels.h:
Remove these (we use ISO-639 language codes internally; applications
that want to translate those into language names for display to the
user should rely on the iso-codes package for that).

18 years agoext/amrnb/amrnbdec.*: Fix amrnbdec, handle events, take copy from adapter since the...
Wim Taymans [Mon, 6 Feb 2006 15:55:28 +0000 (15:55 +0000)]
ext/amrnb/amrnbdec.*: Fix amrnbdec, handle events, take copy from adapter since the decoder apparently writes in the ...

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
(gst_amrnbdec_setcaps), (gst_amrnbdec_event), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
Fix amrnbdec, handle events, take copy from adapter since the decoder
apparently writes in the source data.
Use some _scale_int, and precalc duration.
Fix some leaks, post ERROR messages.

18 years agodocs/plugins/: Add cdio plugin to docs.
Tim-Philipp Müller [Mon, 6 Feb 2006 11:34:23 +0000 (11:34 +0000)]
docs/plugins/: Add cdio plugin to docs.

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:
* docs/plugins/inspect/plugin-cdio.xml:
Add cdio plugin to docs.
* ext/cdio/gstcdiocddasrc.c:
Add gtk-doc blurb.
* ext/cdio/gstcdio.c:
The plugin is called 'cdio' not 'cddio'.

18 years agogst/realmedia/rmdemux.c: One source pad not being linked is not an error condition...
Tim-Philipp Müller [Sat, 4 Feb 2006 15:22:02 +0000 (15:22 +0000)]
gst/realmedia/rmdemux.c: One source pad not being linked is not an error condition when we're still parsing the heade...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
One source pad not being linked is not an error condition when we're
still parsing the header. In this case (e.g. where we don't have a
suitable decoder installed) just pretend everything is fine, so that
the demuxer will actually go on to signal no-more-pads when done
parsing the header, otherwise  decodebin/playbin will never post the
appropriate error message if decoders are not available.

18 years agoJust make it compile with --disable-gst-debug.
Edgard Lima [Fri, 3 Feb 2006 18:24:54 +0000 (18:24 +0000)]
Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.

18 years agoext/mad/gstmad.c: Merge patch from Radoslaw Szkodzinski (bug 326734)
Radoslaw Szkodzinski [Tue, 31 Jan 2006 22:03:30 +0000 (22:03 +0000)]
ext/mad/gstmad.c: Merge patch from Radoslaw Szkodzinski (bug 326734)

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_convert_src), (scale),
(gst_mad_check_caps_reset), (gst_mad_chain):
Merge patch from Radoslaw Szkodzinski (bug 326734)

18 years agoext/mad/gstid3tag.c: fixing Gdate handling enabling mux/demux mode switching adding...
Stefan Kost [Mon, 30 Jan 2006 22:00:18 +0000 (22:00 +0000)]
ext/mad/gstid3tag.c: fixing Gdate handling enabling mux/demux mode switching adding better debug output

Original commit message from CVS:
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach),
(gst_id3_tag_get_tag_to_render), (gst_id3_tag_sink_event),
(gst_id3_tag_src_link), (gst_id3_tag_send_tag_event),
(gst_id3_tag_chain):
fixing Gdate handling
enabling mux/demux mode switching
adding better debug output

18 years agogst/mpegstream/gstmpegparse.c: If we haven't set caps on a source pad yet, the caps...
Tim-Philipp Müller [Mon, 30 Jan 2006 18:57:45 +0000 (18:57 +0000)]
gst/mpegstream/gstmpegparse.c: If we haven't set caps on a source pad yet, the caps on the pad are NULL, not un-fixed...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_send_buffer):
If we haven't set caps on a source pad yet, the caps on the
pad are NULL, not un-fixed. Set caps on outgoing buffers.

18 years agoext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest...
Tim-Philipp Müller [Mon, 23 Jan 2006 18:37:16 +0000 (18:37 +0000)]
ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest, lame expects us to keep the string...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_finalize), (gst_lame_class_init),
(gst_lame_init), (add_one_tag), (gst_lame_set_metadata):
* ext/lame/gstlame.h:
Contrary to what the const char in the lame API might suggest,
lame expects us to keep the strings we pass to id3tag_set_foo()
around; it doesn't free them either though, so we have to store
them somewhere and free them later when we can be sure lame
doesn't need them any longer.

18 years agoext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don...
Tim-Philipp Müller [Mon, 23 Jan 2006 15:02:04 +0000 (15:02 +0000)]
ext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don't know how to handle the tag type, a...

Original commit message from CVS:
* ext/lame/gstlame.c: (add_one_tag):
Fix handling of GST_TAG_DATE (#311679), don't pass an
uninitialised string pointer to lame if we don't know
how to handle the tag type, and fix minor memory leak.

18 years agoext/mad/gstmad.c: Fix debug message.
Tim-Philipp Müller [Mon, 23 Jan 2006 10:15:27 +0000 (10:15 +0000)]
ext/mad/gstmad.c: Fix debug message.

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Fix debug message.

18 years agogst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event): Erase spurious call...
Martin Soto [Sun, 22 Jan 2006 12:00:46 +0000 (12:00 +0000)]
gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event): Erase spurious call to gst_segment_set_newsegment.

Original commit message from CVS:
2006-01-22  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event):
Erase spurious call to gst_segment_set_newsegment.
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event): Call
the superclass method when handling NEWSEGMENT events.
(gst_dvd_demux_handle_dvd_event): Get rid of dvd-audio-shutdown
and dvd-audio-restart event handling. There are currently less
hackish ways of handling the sparse audio stream problem.

18 years agofix up error domains, error strings, and use of translation
Thomas Vander Stichele [Fri, 20 Jan 2006 14:18:20 +0000 (14:18 +0000)]
fix up error domains, error strings, and use of translation

Original commit message from CVS:
2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>

* ext/dvdnav/dvdnavsrc.c: (if):
* ext/dvdread/stream_labels.c:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_segment):
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
fix up error domains, error strings, and use of translation
* po/POTFILES.in:
fix up this file, even though none of them are actually marked
for build yet.

18 years agogst/mpegstream/gstmpegparse.h (struct _GstMPEGParse): gst/mpegstream/gstmpegparse...
Martin Soto [Thu, 19 Jan 2006 21:32:05 +0000 (21:32 +0000)]
gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse): gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset) (gst_mpeg_...

Original commit message from CVS:
2006-01-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset)
(gst_mpeg_parse_process_event, gst_mpeg_parse_parse_packhead)
(gst_mpeg_parse_change_state):
Make timestamp adjustment somewhat milder. Actual timestamps are
now sent unmodified unless an actual gap is found in the
stream. This should fix time display when playing most MPEG
files.

18 years agoext/cdio/: Fix build for libcdio versions >= 76; give slightly lower rank than cdpara...
Tim-Philipp Müller [Thu, 19 Jan 2006 00:10:51 +0000 (00:10 +0000)]
ext/cdio/: Fix build for libcdio versions >= 76; give slightly lower rank than cdparanoia.

Original commit message from CVS:
* ext/cdio/gstcdio.c: (gst_cdio_add_cdtext_field), (plugin_init):
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_get_cdtext):
Fix build for libcdio versions >= 76; give slightly lower rank
than cdparanoia.

18 years agoPort libcdio cdda source, formerly known as cddasrc, now known as cdiocddasrc (fixes...
Tim-Philipp Müller [Wed, 18 Jan 2006 19:30:36 +0000 (19:30 +0000)]
Port libcdio cdda source, formerly known as cddasrc, now known as cdiocddasrc (fixes #323327). Should also read CD-TE...

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/cdio/Makefile.am:
* ext/cdio/gstcdio.c:
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c:
* ext/cdio/gstcdiocddasrc.h:
Port libcdio cdda source, formerly known as cddasrc, now known as
cdiocddasrc (fixes #323327). Should also read CD-TEXT if available,
but that's not tested (fixes #317658).

18 years agogst/mpegstream/gstmpegdemux.c: tss tss... always set caps on outgoing buffer.
Edward Hervey [Wed, 18 Jan 2006 09:30:00 +0000 (09:30 +0000)]
gst/mpegstream/gstmpegdemux.c: tss tss... always set caps on outgoing buffer.

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
tss tss... always set caps on outgoing buffer.

18 years agoupdate spec file
Christian Schaller [Tue, 17 Jan 2006 14:16:52 +0000 (14:16 +0000)]
update spec file

Original commit message from CVS:
update spec file

18 years agoback to HEAD
Thomas Vander Stichele [Fri, 13 Jan 2006 19:30:31 +0000 (19:30 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.1
Thomas Vander Stichele [Fri, 13 Jan 2006 19:25:42 +0000 (19:25 +0000)]
releasing 0.10.1

Original commit message from CVS:
releasing 0.10.1

18 years agoprerelease
Thomas Vander Stichele [Wed, 11 Jan 2006 11:44:02 +0000 (11:44 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agoPass unhandled queries upstream (useful e.g. for SEEKING query)
Tim-Philipp Müller [Tue, 10 Jan 2006 11:43:37 +0000 (11:43 +0000)]
Pass unhandled queries upstream (useful e.g. for SEEKING query)

Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_query):
* ext/mad/gstid3tag.c: (gst_id3_tag_src_query):
* ext/mad/gstmad.c: (gst_mad_src_query):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_src_query):
* ext/sidplay/gstsiddec.cc:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_query):
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_query):
Pass unhandled queries upstream (useful e.g. for SEEKING query)
(fixes #325652; based on patch by: Philippe); make rmdemux return
FALSE for position queries, instead of setting -1 as value and
returning TRUE.

18 years agogst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
Martin Soto [Thu, 5 Jan 2006 21:36:49 +0000 (21:36 +0000)]
gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)

Original commit message from CVS:
2006-01-05  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
(gst_mpeg_parse_process_event, gst_mpeg_parse_pad_added): Don't
rewrite timestamps in the case segments are being set from
upstream, but use timestamps unmodified. Also send proper position
values. This allows for correct time display and makes queries
work in sink elements.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_send_subbuffer):
Rename flush_filter to segment_filter, which is better represents
what the arreibute does.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event):
Activate segment filtering when a timestamp discontinuity is seen.

18 years agoext/mad/gstmad.c: Don't forget that we need to send out a newsegment event after...
Tim-Philipp Müller [Wed, 4 Jan 2006 15:17:15 +0000 (15:17 +0000)]
ext/mad/gstmad.c: Don't forget that we need to send out a newsegment event after a restart even if we don't have enou...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Don't forget that we need to send out a newsegment event after a
restart even if we don't have enough data to decode a frame right
now.

18 years agogst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event): Use the new "audio...
Martin Soto [Fri, 30 Dec 2005 23:51:46 +0000 (23:51 +0000)]
gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event): Use the new "audio-shutdown" and "audio-restart" DVD e...

Original commit message from CVS:
2005-12-31  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event):
Use the new "audio-shutdown" and "audio-restart" DVD events
instead of the "spu-still-frame" event to shutdown and restart
the audio pipeline.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts):
Check for cases where the segment-based adjustment calculation
would produce negative values (which result in an overflow) and
return GST_CLOCK_TIME_NONE instead.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_process_event, gst_dvd_demux_send_subbuffer):
Add a mechanism to discard audio buffers with timestamps outside
the currently set segment. This was causing (sometimes serious)
synchronization problems after seeking in DVDs with LPCM audio,
since VOBUs usually contain audio material that lies outside the
timestamp range specified by the header.

18 years agoext/mad/gstid3tag.c: Remove lingering reference to GstID3Demux
Jan Schmidt [Fri, 30 Dec 2005 16:25:05 +0000 (16:25 +0000)]
ext/mad/gstid3tag.c: Remove lingering reference to GstID3Demux

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type):
Remove lingering reference to GstID3Demux

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
Don't output debug saying padding streams are unknown type,
because they're not

18 years agogst/mpegstream/gstdvddemux.c (AUDIO_CAPS)
Martin Soto [Tue, 27 Dec 2005 19:06:08 +0000 (19:06 +0000)]
gst/mpegstream/gstdvddemux.c (AUDIO_CAPS)

Original commit message from CVS:
2005-12-27  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstdvddemux.c (AUDIO_CAPS)
(gst_dvd_demux_get_audio_stream): Use audio/x-lpcm as mimetype for
LPCM.

* gstmpegdemux.h:
* gstmpegdemux.c (gst_mpeg_demux_get_video_stream)
(gst_mpeg_demux_get_audio_stream):
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_get_video_stream)
(gst_dvd_demux_get_audio_stream)
(gst_dvd_demux_get_subpicture_stream)
(gst_dvd_demux_send_subbuffer):
Send current* pad buffers with appropriate caps.

18 years agogst/iec958/ac3iec.*: (NORMAL_CAPS_DEF, RAW_AUDIO_CAPS_DEF, ac3iec_class_init)
Martin Soto [Mon, 26 Dec 2005 17:48:32 +0000 (17:48 +0000)]
gst/iec958/ac3iec.*: (NORMAL_CAPS_DEF, RAW_AUDIO_CAPS_DEF, ac3iec_class_init)

Original commit message from CVS:
2005-12-26  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/iec958/ac3iec.h:
* gst/iec958/ac3iec.c:
(NORMAL_CAPS_DEF, RAW_AUDIO_CAPS_DEF, ac3iec_class_init)
(ac3iec_init, ac3iec_set_property, ac3iec_get_property): Add a
raw-audio property to ac3iec958 that allows setting the source pad
caps to raw audio instead of audio/x-iec958. This makes it
possible to use ac3iec958 together with the normal alsasink
element to drive an external receiver that autodetects AC3
content.

18 years agogst/iec958/ac3iec.*: Accept audio/x-ac3 and audio/ac3 to ac3iec958 element.
Michael Smith [Fri, 23 Dec 2005 15:48:04 +0000 (15:48 +0000)]
gst/iec958/ac3iec.*: Accept audio/x-ac3 and audio/ac3 to ac3iec958 element.

Original commit message from CVS:
* gst/iec958/ac3iec.c: (ac3iec_init), (ac3iec_setcaps),
(ac3iec_chain_dvd):
* gst/iec958/ac3iec.h:
Accept audio/x-ac3 and audio/ac3 to ac3iec958 element.

18 years agoext/mpeg2dec/gstmpeg2dec.c: When getting a seek event, first check if the upstream...
Tim-Philipp Müller [Wed, 21 Dec 2005 10:25:34 +0000 (10:25 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: When getting a seek event, first check if the upstream element can handle it and only do ...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_src_event):
When getting a seek event, first check if the upstream element
can handle it and only do our own seek stuff when it can't
(should fix #322856).

18 years agoext/mpeg2dec/gstmpeg2dec.c: Really convert to BYTES format when we want to convert...
Tim-Philipp Müller [Wed, 21 Dec 2005 09:58:43 +0000 (09:58 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Really convert to BYTES format when we want to convert to bytes (use right variable; fixe...

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* ext/mpeg2dec/gstmpeg2dec.c: (normal_seek):
Really convert to BYTES format when we want to convert
to bytes (use right variable; fixes #322856).

18 years agoBig mpegparse clean up, second round:
Martin Soto [Mon, 19 Dec 2005 17:26:47 +0000 (17:26 +0000)]
Big mpegparse clean up, second round:

Original commit message from CVS:
2005-12-19  Martin Soto  <martinsoto@users.sourceforge.net>

Big mpegparse clean up, second round:

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event):
Send and EOS event down the audio pipeline when an still frame
event arrives. This prevents the pipeline from locking when a
still menu comes directly after a flush.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset):
Don't send a newsegment in reset.
(gst_mpeg_parse_adjust_ts): Check for invalid timestamps.
(gst_mpeg_parse_handle_newsegment, gst_mpeg_parse_process_event):
Move the code of handle_newsegment to process_event. Send a
NEWSEGMENT after FLUSH_STOP.
(gst_mpeg_parse_change_state): Send a NEWSEGMENT right after
moving to PAUSED.

* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_send_event)
(gst_mpeg_demux_class_init): Don't override send_event.
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_init)
(gst_mpeg_demux_send_event, gst_mpeg_demux_send_subbuffer)
(gst_mpeg_demux_reset):
* gst/mpegstream/gstmpegdemux.h:  Get rid of just_flushed
attribute.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event):
Reset the mpegparse element after a flush.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_handle_newsegment):
Don't forward events.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event):
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass):
handle_newsegment is not a virtual method anymore.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_send_newsegment)
(gst_mpeg_parse_reset, gst_mpeg_parse_class_init):
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass): Get
rid of send_newsegment virtual method.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event): Only
handle DVD events and call the superclass method for other event
types.
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_send_event): Don't
override process_event anymore.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_event)
(gst_mpeg_parse_process_event): Move actual event processing to
process event so that subclasses can properly override or extend
it.
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass):
Eliminate time parameter in process event.

* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_init)
(gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes)
(gst_mpeg_demux_send_subbuffer):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init)
(gst_mpeg_parse_parse_packhead, gst_mpeg_parse_event)
(gst_mpeg_parse_chain): Use the new adjust_ts method instead of
adding the value of the adjust attribute.
* gst/mpegstream/gstmpegdemux.h (struct _GstMPEGVideoStream): Get
rid of the adjust attribute. Now all timestamp adjustments are
performed by mpegparse using the current segment.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
(gst_mpeg_parse_class_init): Implement the adjust_ts method based
on the adjust attribute for SCR values and the current segment.
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass): New
adjust_ts virtual method to adjust timestamps for outgoing
buffers.
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_send_newsegment)
(gst_mpeg_demux_parse_packet): Don't override send_newsegment.
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_class_init)
(gst_dvd_demux_handle_newsegment): Don't override
handle_newsegment.
(gst_dvd_demux_process_event, gst_dvd_demux_handle_dvd_event):
Check for DVD events in process_event instead of
handle_dvd_event.

* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_handle_newsegment)
(gst_mpeg_parse_send_newsegment, gst_mpeg_parse_send_event):
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_process_event)
(gst_mpeg_demux_send_event):
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event)
(gst_dvd_demux_handle_dvd_event):
Eliminate the time parameter in send_event.

18 years agoext/mad/gstid3tag.c: Fix typefinding in id3demux, and then remove it in favour of...
Jan Schmidt [Sun, 18 Dec 2005 15:08:15 +0000 (15:08 +0000)]
ext/mad/gstid3tag.c: Fix typefinding in id3demux, and then remove it in favour of the new LGPL id3demux in gst-plugin...

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_do_typefind),
(gst_id3_tag_do_caps_nego), (gst_id3_tag_chain), (plugin_init):
Fix typefinding in id3demux, and then remove it in favour
of the new LGPL id3demux in gst-plugins-good
* ext/mad/gstmad.c: (gst_mad_dispose):
dispose can run more than once.

18 years agogst/asfdemux/gstasfmux.c: change some char* into char[]
Stefan Kost [Fri, 16 Dec 2005 21:56:32 +0000 (21:56 +0000)]
gst/asfdemux/gstasfmux.c: change some char* into char[]

Original commit message from CVS:
* gst/asfdemux/gstasfmux.c: (gst_asfmux_file_start):
change some char* into char[]

18 years agogst/realmedia/rmdemux.c: Remove memleak from unused GstRMDemuxStream
Edward Hervey [Thu, 15 Dec 2005 17:06:10 +0000 (17:06 +0000)]
gst/realmedia/rmdemux.c: Remove memleak from unused GstRMDemuxStream

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
Remove memleak from unused GstRMDemuxStream

18 years agoext/mad/gstid3tag.c: Use the correct function to free typefind factory list.
Michael Smith [Mon, 12 Dec 2005 19:17:11 +0000 (19:17 +0000)]
ext/mad/gstid3tag.c: Use the correct function to free typefind factory list.

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
(gst_id3_tag_do_typefind):
Use the correct function to free typefind factory list.

18 years agoext/mad/gstmad.c: For position and duration queries in TIME format, try the peer...
Tim-Philipp Müller [Fri, 9 Dec 2005 18:38:53 +0000 (18:38 +0000)]
ext/mad/gstmad.c: For position and duration queries in TIME format, try the peer first (might be a demuxer).

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_src_query):
For position and duration queries in TIME format, try the peer
first (might be a demuxer).

18 years agogst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_newsegment): Properly handle non...
Martin Soto [Thu, 8 Dec 2005 12:45:09 +0000 (12:45 +0000)]
gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_newsegment): Properly handle non contiguous VOBUs by adding the se...

Original commit message from CVS:
2005-12-08  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_newsegment):
Properly handle non contiguous VOBUs by adding the segment accum
field to the adjust value.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_class_init)
(gst_dvd_demux_init, gst_dvd_demux_handle_newsegment): Extend
handle_newsegment to prevent sending actual newsegment events and
use tiemstamp rewriting instead.
(gst_dvd_demux_handle_dvd_event): Don't send a newsegment after
dvd-lang-codes.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_handle_newsegment)
(gst_mpeg_parse_event):
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParseClass):
Add a new parameter to handle_newsegment to allow controlling
whether newsegment events are forwarded or not.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_send_subbuffer)
(gst_dvd_demux_reset):
last_end_ptm and discont_time aren't necessary anymore, since
timestamp adjustment is now replaced by newsegment events.
(gst_dvd_demux_init): Prevent MPEGParse from adjusting
timestamps.
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event):
Don't handle dvd-nav-packet events anymore, since the are now
replaced by standard newsegment events.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_send_subbuffer)
(gst_dvd_demux_change_state):
* gst/mpegstream/gstdvddemux.h:
Get rid of the ignore_next_newmedia_discont hack.
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_class_init)
(gst_dvd_demux_handle_newsegment):
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_class_init)
(gst_mpeg_demux_handle_newsegment): Don't override
handle_newsegment anymore. It was only necessary to handle
NEWMEDIA events.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_set_cur_audio)
(gst_dvd_demux_set_cur_subpicture):
Reactivate handling of DVD events.

* gst/mpegstream/gstmpegparse.c (normal_seek)
(gst_mpeg_parse_handle_src_event)
(gst_mpeg_parse_handle_src_query):
First attempt at reenabling seek.

* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_init)
(gst_mpeg_parse_update_streaminfo)
(gst_mpeg_parse_get_rate)
(gst_mpeg_parse_convert, gst_mpeg_parse_get_src_query_types)
(gst_mpeg_parse_handle_src_query):
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_new_output_pad):
Make queries work again.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset)
(gst_mpeg_parse_handle_newsegment)
(gst_mpeg_parse_send_newsegment, gst_mpeg_parse_pad_added)
(gst_mpeg_parse_chain, gst_mpeg_parse_handle_src_event):
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
Get rid of the newsegment_pending attribute, and rely instead on
proper timestamp adjustment.

* gst/mpegstream/gstmpegparse.c
(gst_mpeg_parse_get_src_event_masks): Erase.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_init):
Initialize fields before creating pads to prevent the pad creation
callback from failing.
(gst_mpeg_parse_reset): Initialize new fields, and change
initialization order to match the order in the structure.
(gst_mpeg_parse_handle_newsegment): Forward new segment events
whenever possible, and update the current segment.
(gst_mpeg_parse_send_newsegment): Update the current segment and
pending_newsegment.
(gst_mpeg_parse_pad_added): Use the current segment to send
newsegment events to new pads.
(gst_mpeg_parse_chain): Properly add adjust time to sent buffers
and events. Properly update newsegment_pending.
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
New fields do_adjust and current_segment.

* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstdvddemux.c:
* gst/mpegstream/gstmpegparse.h:
Rename handle_discont virtual method to handle_newsegment. Erase
some (already commented out support) for old NEW_MEDIA events.

* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_init)
(gst_mpeg_parse_reset, gst_mpeg_parse_handle_discont)
(gst_mpeg_parse_pad_added, gst_mpeg_parse_parse_packhead)
(gst_mpeg_parse_event, gst_mpeg_parse_chain):
Erase the "pending_scr" field, and replace it by a slightly
different handling of the current SCR. Document code blocks in
parse_packhead and chain.

18 years agoext/mad/gstid3tag.c: g_warning() are only for really fatal warnings. If we can't...
Edward Hervey [Wed, 7 Dec 2005 11:50:10 +0000 (11:50 +0000)]
ext/mad/gstid3tag.c: g_warning() are only for really fatal warnings. If we can't decode a tag, just ignore that tag a...

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
g_warning() are only for really fatal warnings. If we can't decode a
tag, just ignore that tag and do a GST_WARNING.

18 years agoexpand tabs
Thomas Vander Stichele [Tue, 6 Dec 2005 19:48:07 +0000 (19:48 +0000)]
expand tabs

Original commit message from CVS:
expand tabs

18 years agoback to HEAD
Thomas Vander Stichele [Mon, 5 Dec 2005 18:12:24 +0000 (18:12 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.0
Thomas Vander Stichele [Mon, 5 Dec 2005 18:04:06 +0000 (18:04 +0000)]
releasing 0.10.0

Original commit message from CVS:
releasing 0.10.0

18 years agoUpdate for alloc_buffer changes.
Andy Wingo [Mon, 5 Dec 2005 13:03:40 +0000 (13:03 +0000)]
Update for alloc_buffer changes.

Original commit message from CVS:
2005-12-05  Andy Wingo  <wingo@pobox.com>

* ext/a52dec/gsta52dec.c: (gst_a52dec_push):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_buffer):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_raw):
* gst/iec958/ac3iec.c: (ac3iec_chain_raw):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_parse_packet): Update for alloc_buffer changes.

18 years agoext/mad/gstid3tag.c (plugin_init): Remove id3tag -- there's just id3demux and id3mux...
Andy Wingo [Mon, 5 Dec 2005 09:33:32 +0000 (09:33 +0000)]
ext/mad/gstid3tag.c (plugin_init): Remove id3tag -- there's just id3demux and id3mux now. Fixes #323199.

Original commit message from CVS:
2005-12-05  Andy Wingo  <wingo@pobox.com>

* ext/mad/gstid3tag.c (plugin_init): Remove id3tag -- there's just
id3demux and id3mux now. Fixes #323199.

18 years agoupdate spec file for latest changes
Christian Schaller [Sun, 4 Dec 2005 22:36:51 +0000 (22:36 +0000)]
update spec file for latest changes

Original commit message from CVS:
update spec file for latest changes

18 years agofix silly Makefile.am bug so they link correctly again
Thomas Vander Stichele [Fri, 2 Dec 2005 12:28:03 +0000 (12:28 +0000)]
fix silly Makefile.am bug so they link correctly again

Original commit message from CVS:

* ext/amrnb/Makefile.am:
* gst/realmedia/Makefile.am:
fix silly Makefile.am bug so they link correctly again

18 years agoback to HEAD
Thomas Vander Stichele [Thu, 1 Dec 2005 19:18:24 +0000 (19:18 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.7
Thomas Vander Stichele [Thu, 1 Dec 2005 19:14:57 +0000 (19:14 +0000)]
releasing 0.9.7

Original commit message from CVS:
releasing 0.9.7

18 years agoDon't know how these escaped my eye before. Fix link flags.
Thomas Vander Stichele [Thu, 1 Dec 2005 15:49:59 +0000 (15:49 +0000)]
Don't know how these escaped my eye before.  Fix link flags.

Original commit message from CVS:
Don't know how these escaped my eye before.  Fix link flags.

18 years agono examples
Thomas Vander Stichele [Wed, 30 Nov 2005 18:37:24 +0000 (18:37 +0000)]
no examples

Original commit message from CVS:
no examples

18 years agogst/mpegstream/: Ref events before sending them to multiple pads, after all gst_pad_s...
Tim-Philipp Müller [Tue, 29 Nov 2005 11:26:35 +0000 (11:26 +0000)]
gst/mpegstream/: Ref events before sending them to multiple pads, after all gst_pad_send_event() takes ownership of e...

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_event):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_send_newsegment),
(gst_mpeg_parse_send_event):
Ref events before sending them to multiple pads, after all
gst_pad_send_event() takes ownership of events. Don't leak
events that have not been handled (fixes #322745).

18 years agogst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event)
Martin Soto [Mon, 28 Nov 2005 19:13:51 +0000 (19:13 +0000)]
gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event)

Original commit message from CVS:
2005-11-28  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event)
(gst_dvd_demux_handle_dvd_event): Erase code to prevent mpegparse
from making timestamp adjustments. This will have to be re-added
in some form in the near future, but in order to do that, some nav
packet parsing will be necessary in mpegdemux.
* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_init)
(g_value_set_int, gst_mpeg_parse_set_property)
Get rid of do_adjust and use_adjust. Rename max_discont to
max_src_gap.
(gst_mpeg_parse_parse_packhead): When max_scr_gap has a value of
-1, no adjustment is made.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init):
Rename max_discont property to max_scr_gap. Erase "adjust"
property.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_send_event): Don't
override send_event anymore, base class does the job.
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_send_event):
Base class now does most of the work.
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_send_event):
Generalize to forwarding the event to all source pads in the
element.

* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init)
(gst_mpeg_parse_init, gst_mpeg_parse_set_clock)
(gst_mpeg_parse_chain, gst_mpeg_parse_get_property)
(gst_mpeg_parse_set_property):
Clock synchronization doesn't make sense anymore for a
demultiplexer.

18 years agogst/realmedia/rmdemux.c: Don't treat normal EOS as a fatal error.
Michael Smith [Mon, 28 Nov 2005 18:54:09 +0000 (18:54 +0000)]
gst/realmedia/rmdemux.c: Don't treat normal EOS as a fatal error.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
Don't treat normal EOS as a fatal error.

18 years agoext/mad/gstmad.c: Proper warning statements,
Edward Hervey [Mon, 28 Nov 2005 15:47:01 +0000 (15:47 +0000)]
ext/mad/gstmad.c: Proper warning statements,

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Proper warning statements,
Don't error if the src pad isn't linked when pushing.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_change_state):
Proper state_change, avoids borkage when going to READY

18 years agono need for an AS_LIBTOOL call
Thomas Vander Stichele [Sun, 27 Nov 2005 15:34:00 +0000 (15:34 +0000)]
no need for an AS_LIBTOOL call

Original commit message from CVS:
no need for an AS_LIBTOOL call

18 years agoadd ACLOCAL_AMFLAGS; remove old stuff from spec changelog
Thomas Vander Stichele [Sun, 27 Nov 2005 14:34:34 +0000 (14:34 +0000)]
add ACLOCAL_AMFLAGS; remove old stuff from spec changelog

Original commit message from CVS:
add ACLOCAL_AMFLAGS; remove old stuff from spec changelog

18 years agoext/mpeg2dec/gstmpeg2dec.c: Prime libmpeg2's pumps with some null custom buffers...
Jan Schmidt [Fri, 25 Nov 2005 17:02:41 +0000 (17:02 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Prime libmpeg2's pumps with some null custom buffers to ensure it doesn't ask us to disca...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (handle_sequence):
Prime libmpeg2's pumps with some null custom buffers
to ensure it doesn't ask us to discard garbage later yay.

18 years agoext/mpeg2dec/gstmpeg2dec.c: Prime libmpeg2's pumps with some null custom buffers...
Jan Schmidt [Fri, 25 Nov 2005 17:01:46 +0000 (17:01 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Prime libmpeg2's pumps with some null custom buffers to ensure it ask us to discard garba...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (handle_sequence):
Prime libmpeg2's pumps with some null custom buffers
to ensure it ask us to discard garbage later yay.

18 years agoext/a52dec/gsta52dec.*: Accept AC3 in audio/x-private1-ac3 format, which includes
Michael Smith [Fri, 25 Nov 2005 14:50:19 +0000 (14:50 +0000)]
ext/a52dec/gsta52dec.*: Accept AC3 in audio/x-private1-ac3 format, which includes

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_init),
(gst_a52dec_sink_setcaps), (gst_a52dec_chain),
(gst_a52dec_chain_raw):
* ext/a52dec/gsta52dec.h:
Accept AC3 in audio/x-private1-ac3 format, which includes
DVD-specific headers, as well as raw AC3, for compatibility with
some demuxers.

18 years agoext/mad/gstmad.c: When pad_alloc returns other-than-GST_FLOW_OK and mad exits early...
Jan Schmidt [Fri, 25 Nov 2005 00:03:52 +0000 (00:03 +0000)]
ext/mad/gstmad.c: When pad_alloc returns other-than-GST_FLOW_OK and mad exits early, skip frame synthesis and consume...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
When pad_alloc returns other-than-GST_FLOW_OK and mad exits early,
skip frame synthesis and consume input data as if we'd done the
decode. Makes mad not error when the src pad is not connected.
(#319784)

18 years agoErase old CVS conflict line.
Martin Soto [Thu, 24 Nov 2005 13:58:55 +0000 (13:58 +0000)]
Erase old CVS conflict line.

Original commit message from CVS:
Erase old CVS conflict line.

18 years agogst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init) (gst_mpeg_parse_handle_disc...
Martin Soto [Thu, 24 Nov 2005 13:52:49 +0000 (13:52 +0000)]
gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init) (gst_mpeg_parse_handle_discont, gst_mpeg_parse_send_newsegm...

Original commit message from CVS:
2005-11-23  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_class_init)
(gst_mpeg_parse_handle_discont, gst_mpeg_parse_send_newsegment)
(gst_mpeg_parse_chain):
* gst/mpegstream/gstmpegdemux.c (gst_mpeg_demux_class_init)
(gst_mpeg_demux_send_newsegment):
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_send_subbuffer):
* gst/mpegstream/gstmpegparse.h:
Rename send_discont method to send_newsegment and add parameters
to handle actual segments. Adapt code all around to run with the
new name and signature.
* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstmpegparse.c:
* gst/mpegstream/gstdvddemux.c:
Convert to GST_BOILERPLATE.

18 years agofix AS_LIBTOOL call
Thomas Vander Stichele [Thu, 24 Nov 2005 12:23:04 +0000 (12:23 +0000)]
fix AS_LIBTOOL call

Original commit message from CVS:
fix AS_LIBTOOL call

18 years agoadd a torture target
Thomas Vander Stichele [Wed, 23 Nov 2005 21:26:35 +0000 (21:26 +0000)]
add a torture target

Original commit message from CVS:
add a torture target

18 years agoback to HEAD
Thomas Vander Stichele [Wed, 23 Nov 2005 20:05:47 +0000 (20:05 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.6
Thomas Vander Stichele [Wed, 23 Nov 2005 19:57:04 +0000 (19:57 +0000)]
releasing 0.9.6

Original commit message from CVS:
releasing 0.9.6

18 years agogst/realmedia/rmdemux.c: Fractional framerates.
Michael Smith [Wed, 23 Nov 2005 00:26:42 +0000 (00:26 +0000)]
gst/realmedia/rmdemux.c: Fractional framerates.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event),
(gst_rmdemux_src_event), (gst_rmdemux_validate_offset),
(find_seek_offset_bytes), (find_seek_offset_time),
(gst_rmdemux_perform_seek), (gst_rmdemux_src_query),
(gst_rmdemux_loop), (gst_rmdemux_fourcc_isplausible),
(gst_rmdemux_chain), (gst_rmdemux_send_event),
(gst_rmdemux_add_stream), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_parse_packet):
Fractional framerates.