Commit graph

1968 commits

Author SHA1 Message Date
Michael Smith b77f717fa6 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.
2005-12-12 19:17:11 +00:00
Tim-Philipp Müller 741c6663e2 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).
2005-12-09 18:38:53 +00:00
Martin Soto 81f2585c88 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.
2005-12-08 12:45:09 +00:00
Edward Hervey e14fa780ed 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.
2005-12-07 11:50:10 +00:00
Thomas Vander Stichele ffe763c043 expand tabs
Original commit message from CVS:
expand tabs
2005-12-06 19:48:07 +00:00
Thomas Vander Stichele 4eef077971 releasing 0.10.0
Original commit message from CVS:
releasing 0.10.0
2005-12-05 18:04:06 +00:00
Andy Wingo be0fdf972b 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.
2005-12-05 13:03:40 +00:00
Andy Wingo 0f3d1be313 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.
2005-12-05 09:33:32 +00:00
Thomas Vander Stichele df9edcd583 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
2005-12-02 12:28:03 +00:00
Thomas Vander Stichele d369957927 releasing 0.9.7
Original commit message from CVS:
releasing 0.9.7
2005-12-01 19:14:57 +00:00
Thomas Vander Stichele 11677c9968 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.
2005-12-01 15:49:59 +00:00
Tim-Philipp Müller ceb53c930c 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).
2005-11-29 11:26:35 +00:00
Martin Soto 4d652b147a 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.
2005-11-28 19:13:51 +00:00
Michael Smith 2721e07f95 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.
2005-11-28 18:54:09 +00:00
Edward Hervey 254cf104d8 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
2005-11-28 15:47:01 +00:00
Jan Schmidt 9a9f1b388a 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.
2005-11-25 17:02:41 +00:00
Jan Schmidt 57cd4f20f1 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.
2005-11-25 17:01:46 +00:00
Michael Smith 19a1c51069 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.
2005-11-25 14:50:19 +00:00
Jan Schmidt 93714f6be3 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)
2005-11-25 00:03:52 +00:00
Martin Soto 491c9ab3e0 Erase old CVS conflict line.
Original commit message from CVS:
Erase old CVS conflict line.
2005-11-24 13:58:55 +00:00
Martin Soto f51be26aa8 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.
2005-11-24 13:52:49 +00:00
Thomas Vander Stichele c98a38d5ab back to HEAD
Original commit message from CVS:
back to HEAD
2005-11-23 20:05:47 +00:00
Thomas Vander Stichele 89da1d41b9 releasing 0.9.6
Original commit message from CVS:
releasing 0.9.6
2005-11-23 19:57:04 +00:00
Michael Smith 5f6a8b9c3e 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.
2005-11-23 00:26:42 +00:00
Jan Schmidt 23b68823d6 ext/mpeg2dec/gstmpeg2dec.*: Use fractional framerates
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (src_templ),
(gst_mpeg2dec_negotiate_format), (handle_sequence),
(gst_mpeg2dec_sink_event):
* ext/mpeg2dec/gstmpeg2dec.h:
Use fractional framerates
2005-11-23 00:12:24 +00:00
Wim Taymans 93933f17fa gst/mpegstream/gstmpegparse.c: set_clock returns a boolean.
Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_set_clock):
set_clock returns a boolean.
2005-11-22 19:07:13 +00:00
Tim-Philipp Müller 1d09aeb36d ext/mad/gstmad.c: Fix seeking even more by sending the newsegment event with the right parameters. Should fix queryin...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Fix seeking even more by sending the newsegment event with the
right parameters. Should fix querying in playbin/totem after
a seek.
2005-11-22 18:39:36 +00:00
Tim-Philipp Müller 750f0f9d13 ext/mad/gstmad.c: Fix seeking in stand-alone mode. Fix nonexistant enum value introduced in previous commit. Improve ...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_mode_get_type), (gst_mad_src_query),
(normal_seek), (gst_mad_sink_event), (gst_mad_chain):
Fix seeking in stand-alone mode. Fix nonexistant enum value
introduced in previous commit. Improve debug messages here and
there. Actually return a proper return value in the sink event
handler.
2005-11-22 17:39:36 +00:00
Thomas Vander Stichele 9a7654bc79 fix up GValueEnum
Original commit message from CVS:
fix up GValueEnum
2005-11-22 17:04:38 +00:00
Andy Wingo 2d4d7ebcb7 Update for gst_tag_setter API changes.
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* Update for gst_tag_setter API changes.
2005-11-22 12:39:29 +00:00
Andy Wingo d731d22791 ext/a52dec/gsta52dec.c (gst_a52dec_sink_event) ext/mad/gstid3tag.c (gst_id3_tag_sink_event) ext/mad/gstmad.c (gst_mad...
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* ext/a52dec/gsta52dec.c (gst_a52dec_sink_event)
* ext/mad/gstid3tag.c (gst_id3_tag_sink_event)
* ext/mad/gstmad.c (gst_mad_chain)
* gst/mpegaudioparse/gstmpegaudioparse.c
(gst_mp3parse_sink_event)
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event)
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_handle_discont)
(gst_mpeg_parse_send_discont, gst_mpeg_parse_pad_added)
* gst/realmedia/rmdemux.c (gst_rmdemux_perform_seek)
(gst_rmdemux_chain, gst_rmdemux_add_stream): Run update-funcnames.
2005-11-22 11:55:32 +00:00
Tim-Philipp Müller a1e46d712c ext/mad/Makefile.am: libgsttagedit => libgsttag
Original commit message from CVS:
* ext/mad/Makefile.am:
libgsttagedit => libgsttag
2005-11-22 11:39:06 +00:00
Edward Hervey 125512b120 ext/lame/gstlame.c: Don't take the stream lock
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event):
Don't take the stream lock
2005-11-21 23:50:02 +00:00
Andy Wingo aa5c8d66bd ext/: Don't take the stream lock.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* ext/sidplay/gstsiddec.cc (gst_siddec_sink_event):
* ext/mpeg2dec/gstmpeg2dec.c (gst_mpeg2dec_sink_event):
* ext/mad/gstmad.c (gst_mad_sink_event):
* ext/a52dec/gsta52dec.c (gst_a52dec_sink_event): Don't take the
stream lock.

* gst/realmedia/rmdemux.c (gst_rmdemux_perform_seek): Update for
stream lock changes.
2005-11-21 17:34:30 +00:00
Andy Wingo d779ee9077 *.*: Ran scripts/update-macros. Oh yes.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
2005-11-21 16:36:44 +00:00
Tim-Philipp Müller 39c85079c4 gst/mpegstream/: Filler events have beem removed for now.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_process_event):
Filler events have beem removed for now.
2005-11-21 15:12:43 +00:00
Tim-Philipp Müller ef6f48e05c gst/: Update for GST_FOURCC_FORMAT API change.
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_add_video_stream):
* gst/realmedia/rmdemux.c: (gst_rmdemux_chain),
(gst_rmdemux_add_stream), (gst_rmdemux_parse_mdpr):
Update for GST_FOURCC_FORMAT API change.
2005-11-21 14:08:45 +00:00
Edward Hervey 7cd253d5e1 gst/: Modifications for disapearance of GST_PAD_IS_USABLE()
Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_raw):
* gst/realmedia/rmdemux.c: (gst_rmdemux_chain),
(gst_rmdemux_add_stream), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_parse_packet):
Modifications for disapearance of GST_PAD_IS_USABLE()
2005-11-21 10:32:55 +00:00
Michael Smith eae0c80f16 gst/iec958/ac3iec.c: Remove some setcaps brokenness.
Original commit message from CVS:
* gst/iec958/ac3iec.c: (ac3iec_init), (ac3iec_chain_dvd):
Remove some setcaps brokenness.
Don't crash on bad input.
2005-11-18 16:14:00 +00:00
Johan Dahlin d62642b8f8 ext/mad/gstid3tag.c (gst_mad_id3_to_tag_list): unset GValues after calling transform.
Original commit message from CVS:
* ext/mad/gstid3tag.c (gst_mad_id3_to_tag_list): unset GValues after
calling transform.
(gst_id3_tag_do_typefind): Unref caps

* ext/mad/gstmad.c (gst_mad_check_caps_reset): Ditto
2005-11-15 22:46:23 +00:00
Tim-Philipp Müller cbc750649e ext/mpeg2dec/gstmpeg2dec.c: Set DELTA_UNIT flag on outgoing buffers if this is NOT a keyframe; nice-ify debug message...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (handle_slice),
(gst_mpeg2dec_sink_event):
Set DELTA_UNIT flag on outgoing buffers if this is NOT a keyframe;
nice-ify debug message in event handler; add CHECKME.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event),
(gst_dvd_demux_send_event), (gst_dvd_demux_process_private),
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_reset),
(gst_dvd_demux_sync_stream_to_time):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init),
(gst_mpeg_demux_process_event), (gst_mpeg_demux_send_event),
(gst_mpeg_demux_handle_discont), (gst_mpeg_demux_new_output_pad),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes),
(gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_process_private),
(gst_mpeg_demux_sync_stream_to_time),
(gst_mpeg_demux_handle_src_event), (gst_mpeg_demux_reset):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_send_buffer),
(gst_mpeg_parse_process_event), (gst_mpeg_parse_send_discont),
(gst_mpeg_parse_send_event), (gst_mpeg_parse_event),
(gst_mpeg_parse_chain):
* gst/mpegstream/gstmpegparse.h:
Get rid of GST_PAD_IS_USABLE and fix GstFlowReturn vs. gboolean
return value confusion (gst_pad_push vs. gst_pad_send_event and
gst_pad_push_event); pass flow return values to caller;
miscellaneous fixes and clean-ups.
2005-11-15 14:19:38 +00:00
Martin Soto d42c1f70bc gst/mpegstream/Makefile.am (noinst_HEADERS): Add gstrfc2250enc.h.
Original commit message from CVS:
2005-11-14  Martin Soto  <soto@localhost.localdomain>

* gst/mpegstream/Makefile.am (noinst_HEADERS): Add
gstrfc2250enc.h.
2005-11-14 22:18:21 +00:00
Josef Zlomek d45697d6ed partially port the mpegstream plugin to GStreamer 0.9.
Original commit message from CVS:
2005-11-14  Martin Soto  <martinsoto@users.sourceforge.net>

* configure.ac:
* gst/mpegstream/Makefile.am:
* gst/mpegstream/gstdvddemux.c:
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegpacketize.c:
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c:
* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstmpegstream.c:
* gst/mpegstream/gstrfc2250enc.c:
* gst/mpegstream/gstrfc2250enc.h:
Applied patch from Josef Zlomek <josef.zlomek@xeris.cz> to
partially port the mpegstream plugin to GStreamer 0.9.
2005-11-14 21:20:21 +00:00
Andy Wingo b54b0bbe32 configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better debugging, allows dll builds on windows. Fixes #316076.
Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better
debugging, allows dll builds on windows. Fixes #316076.
2005-11-14 17:13:20 +00:00
Thomas Vander Stichele 197ff06e0e back to head
Original commit message from CVS:
back to head
2005-11-11 19:37:33 +00:00
Thomas Vander Stichele 301a8e0557 releasing 0.9.5
Original commit message from CVS:
releasing 0.9.5
2005-11-11 19:35:55 +00:00
Wim Taymans badeda5a53 ext/mpeg2dec/gstmpeg2dec.c: Forward GstFlowReturn about everywhere.
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_reset),
(gst_mpeg2dec_alloc_buffer), (gst_mpeg2dec_negotiate_format),
(handle_sequence), (handle_picture), (handle_slice),
(gst_mpeg2dec_chain), (gst_mpeg2dec_src_query), (normal_seek),
(gst_mpeg2dec_src_event), (gst_mpeg2dec_change_state):
Forward GstFlowReturn about everywhere.
Handle seeking correctly.
2005-10-27 21:50:11 +00:00
Wim Taymans 65d9a9f173 ext/mpeg2dec/gstmpeg2dec.c: Small cleanups in refcounting.
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format),
(handle_sequence), (handle_slice), (gst_mpeg2dec_chain),
(gst_mpeg2dec_src_query), (gst_mpeg2dec_change_state):
Small cleanups in refcounting.
2005-10-27 17:26:13 +00:00
Wim Taymans 535cd3d2fa ext/mpeg2dec/gstmpeg2dec.*: Removed lots of dubious code.
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_dispose), (gst_mpeg2dec_reset),
(gst_mpeg2dec_alloc_buffer), (gst_mpeg2dec_negotiate_format),
(handle_sequence), (handle_picture):
* ext/mpeg2dec/gstmpeg2dec.h:
Removed lots of dubious code.
Handle flushing and seeking correctly. Still leaks though...
2005-10-26 16:45:04 +00:00
Christian Schaller db28f9b3ea port plugins listing changes
Original commit message from CVS:
port plugins listing changes
2005-10-24 13:37:47 +00:00
Thomas Vander Stichele 7d093f28b3 back to HEAD
Original commit message from CVS:
back to HEAD
2005-10-23 23:06:09 +00:00
Thomas Vander Stichele dbc62ec935 releasing 0.9.4
Original commit message from CVS:
releasing 0.9.4
2005-10-23 22:44:44 +00:00
Julien Moutte e43f178107 gst/realmedia/rmdemux.c: STOPPED->FAILED
Original commit message from CVS:
2005-10-23  Julien MOUTTE  <julien@moutte.net>

* gst/realmedia/rmdemux.c: (gst_rmdemux_loop): STOPPED->FAILED
2005-10-23 14:32:49 +00:00
Wim Taymans 37645da4ba gst/realmedia/rmdemux.c: Set correct stream time in newsegment event.
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
(gst_rmdemux_perform_seek), (gst_rmdemux_src_query):
Set correct stream time in newsegment event.
2005-10-21 11:58:38 +00:00
Thomas Vander Stichele 52dfc3d019 fix distcheck
Original commit message from CVS:
fix distcheck
2005-10-20 22:40:07 +00:00
Tim-Philipp Müller 3dcbdad99c ext/a52dec/: Re-enable CPU flags, use liboil to get them.
Original commit message from CVS:
* ext/a52dec/Makefile.am:
* ext/a52dec/gsta52dec.c: (gst_a52dec_base_init),
(gst_a52dec_class_init), (gst_a52dec_sink_event),
(gst_a52dec_change_state):
* ext/a52dec/gsta52dec.h:
Re-enable CPU flags, use liboil to get them.
2005-10-20 09:51:58 +00:00
Tim-Philipp Müller a08e63fd01 Port AC3 decoder to 0.9 (#318849).
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* configure.ac:
* ext/a52dec/Makefile.am:
* ext/a52dec/gsta52dec.c:
* ext/a52dec/gsta52dec.h:
Port AC3 decoder to 0.9 (#318849).
2005-10-20 09:00:30 +00:00
Wim Taymans 583fa9bf82 ext/sidplay/gstsiddec.cc: Small fixes and more error messages.
Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
Small fixes and more error messages.
2005-10-20 08:30:33 +00:00
Wim Taymans dcd58b7551 API change fixen.
Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_query),
(gst_amrnbparse_state_change):
* ext/mad/gstid3tag.c: (gst_id3_tag_src_query):
* ext/mad/gstmad.c: (gst_mad_get_query_types), (gst_mad_src_query):
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/sidplay/gstsiddec.cc:
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
(gst_rmdemux_src_query), (gst_rmdemux_src_query_types):
API change fixen.
2005-10-19 16:01:35 +00:00
Tim-Philipp Müller da23b1f541 configure.ac: GST_DOC has been renamed to GST_DOCBOOK_CHECK
Original commit message from CVS:
* configure.ac:
GST_DOC has been renamed to GST_DOCBOOK_CHECK
2005-10-19 12:43:28 +00:00
Thomas Vander Stichele 2cf904b9f9 configure.ac: some docs I had
Original commit message from CVS:

* configure.ac:
some docs I had
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain):
trivial fixes
2005-10-19 09:47:31 +00:00
Wim Taymans 3c42e26c1e gst/realmedia/rmdemux.c: segment-start/done API change.
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
(gst_rmdemux_perform_seek):
segment-start/done API change.
2005-10-18 13:23:22 +00:00
Michael Smith a481b8e531 Set buffer durations on IEC958 buffers.
Original commit message from CVS:
Set buffer durations on IEC958 buffers.
2005-10-17 17:50:45 +00:00
Tim-Philipp Müller e741775960 configure.ac: Fix glib check
Original commit message from CVS:
* configure.ac:
Fix glib check
2005-10-16 17:06:42 +00:00
Tim-Philipp Müller cd53df63df ext/mad/gstid3tag.c: Fix handling of GST_TAG_DATE, which is now of type GST_TYPE_DATE.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
Fix handling of GST_TAG_DATE, which is now of type GST_TYPE_DATE.
2005-10-13 19:14:25 +00:00
Stefan Kost 7c27045a8a examples/stats/mp2ogg.c: yes, typo fixes
Original commit message from CVS:
* examples/stats/mp2ogg.c:
yes, typo fixes
2005-10-13 15:29:56 +00:00
Stefan Kost 470f3bb857 renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/a52dec/gsta52dec.c: (gst_a52dec_init):
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_is_open),
(dvdnavsrc_set_property), (dvdnavsrc_open), (dvdnavsrc_close),
(dvdnavsrc_event), (dvdnavsrc_convert), (dvdnavsrc_query):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_set_property),
(dvdreadsrc_srcpad_query), (dvdreadsrc_get),
(dvdreadsrc_open_file), (dvdreadsrc_close_file):
* ext/dvdread/dvdreadsrc.h:
* ext/lame/gstlame.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_init):
* gst/iec958/ac3iec.h:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_init):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_init):
* gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_init):
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition
2005-10-12 14:30:36 +00:00
Wim Taymans f7690579ef newsegment API update.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_sink_event):
* ext/mad/gstmad.c: (gst_mad_chain):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_sink_event), (gst_mp3parse_chain):
* gst/realmedia/rmdemux.c: (gst_rmdemux_perform_seek),
(gst_rmdemux_chain), (gst_rmdemux_add_stream):
newsegment API update.
2005-10-11 16:37:16 +00:00
Wim Taymans fae42be53d ext/amrnb/amrnbdec.c: Mark invalid frame sizes
Original commit message from CVS:
* ext/amrnb/amrnbdec.c:
Mark invalid frame sizes

* ext/mad/gstmad.c: (gst_mad_init), (gst_mad_chain):
UNUSABLE is not to be used here, just push out stuff so
probes can continue linking or making the pad usable.
2005-10-06 13:14:38 +00:00
Michael Smith 72ba426c00 Improve seek error-resilience.
Original commit message from CVS:
Improve seek error-resilience.
Better error handling generally.
2005-10-05 11:25:51 +00:00
Thomas Vander Stichele 261c0d4a51 back to head
Original commit message from CVS:
back to head
2005-10-03 17:59:55 +00:00
Thomas Vander Stichele c2974eec2f release time
Original commit message from CVS:
release time
2005-10-03 17:49:44 +00:00
Michael Smith 1490435738 Sanity checks and memory leak fixes for real demuxer
Original commit message from CVS:
Sanity checks and memory leak fixes for real demuxer
2005-09-30 16:39:47 +00:00
Michael Smith 3dc55cb75e gst/realmedia/rmdemux.c: Real demuxer fixes. Make it more bulletproof against bad data, identify a few more stream ty...
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_event),
(gst_rmdemux_perform_seek), (gst_rmdemux_loop),
(gst_rmdemux_send_event), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_parse_packet):
Real demuxer fixes. Make it more bulletproof against bad data,
identify a few more stream types.
Fix seeking so that it works (at least with the seek example
program; it still fails with totem).
2005-09-29 13:44:15 +00:00
Wim Taymans b293389291 gst/mpegaudioparse/gstmpegaudioparse.c: Set correct caps on buffers too.
Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_sink_event), (gst_mp3parse_chain):
Set correct caps on buffers too.
2005-09-26 14:41:23 +00:00
Wim Taymans edd3ce1d23 gst/mpegaudioparse/gstmpegaudioparse.*: Put timestamps on buffers.
Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init),
(gst_mp3parse_sink_event), (gst_mp3parse_chain):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Put timestamps on buffers.
2005-09-26 14:31:53 +00:00
Flavio Oliveira a1c1d43036 Changed amrnbenc description, it is an encoder, not decoder.
Original commit message from CVS:
Changed amrnbenc description, it is an encoder, not decoder.
2005-09-21 22:21:22 +00:00
Michael Smith 5e1a50c7f0 Various changes to AC3->IEC958 framer. Mostly to make our IEC958 headers and dump the frame (as a probable sync failu...
Original commit message from CVS:
Various changes to AC3->IEC958 framer. Mostly to make our IEC958 headers
more accurate, and to check AC3 checksums (both of them in each frame),
and dump the frame (as a probable sync failure) if they don't match.
General code cleanup, improved comments. Changed to not construct the
header backwards, and not byteswap everything else. If we end up needing
to do little-endian output, we should swap in the element doing the
output (AC3 is big-endian).
2005-09-21 16:21:45 +00:00
Thomas Vander Stichele 76efbbb56b docs/plugins/gst-plugins-ugly-plugins.*: commit missing files
Original commit message from CVS:
* docs/plugins/gst-plugins-ugly-plugins.args:
* docs/plugins/gst-plugins-ugly-plugins.hierarchy:
* docs/plugins/gst-plugins-ugly-plugins.interfaces:
* docs/plugins/gst-plugins-ugly-plugins.prerequisites:
commit missing files
* docs/plugins/inspect/plugin-lame.xml:
update
2005-09-19 23:21:31 +00:00
Wim Taymans 23aedb3b9d ext/lame/gstlame.c: Set caps on outgoing buffers.
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
Set caps on outgoing buffers.
2005-09-19 11:07:40 +00:00
Thomas Vander Stichele 61d0ed02a5 clean up further so we don't try to set up five times for a simple pipeline
Original commit message from CVS:
clean up further so we don't try to set up five times for
a simple pipeline
2005-09-16 16:04:28 +00:00
Michael Smith 86e1e309c0 Set setcaps function on sink pad, not source pad. Produce correct caps on output buffers.
Original commit message from CVS:
Set setcaps function on sink pad, not source pad. Produce correct caps
on output buffers.
2005-09-16 15:43:08 +00:00
Stefan Kost cc67d347e2 ext/mad/gstid3tag.c: gsttaginterface.h -> gsttagsetter.h
Original commit message from CVS:
* ext/mad/gstid3tag.c:
gsttaginterface.h -> gsttagsetter.h
2005-09-07 13:42:44 +00:00
Thomas Vander Stichele 016a6fb3ea releasing 0.9.2
Original commit message from CVS:
releasing 0.9.2
2005-09-06 14:05:40 +00:00
Wim Taymans 3c02efe798 ext/amrnb/: State change function updates.
Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_state_change):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_state_change):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_state_change):
State change function updates.
2005-09-06 12:00:33 +00:00
Jan Schmidt 4730a09d4b ext/mpeg2dec/gstmpeg2dec.c: GST_CAT_SEEK disappeared from the public API at some point
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c:
GST_CAT_SEEK disappeared from the public API at some point
2005-09-05 17:24:20 +00:00
Michael Smith 5206e42dc9 Accept audio/x-private1-a3c on sink pad
Original commit message from CVS:
Accept audio/x-private1-a3c on sink pad
2005-09-02 17:04:39 +00:00
Michael Smith 429158ad6e Changes to correctly use first_access parameter in ac3 and lpcm plugins.
Original commit message from CVS:
Changes to correctly use first_access parameter in ac3 and lpcm plugins.
Some general cleanups in iec958 framer.
2005-09-02 13:37:13 +00:00
Michael Smith 8a0d06c3ae AC3 -> IEC958 (S/PDIF) framer, based on Martin Soto's 0.8 plugin
Original commit message from CVS:
AC3 -> IEC958 (S/PDIF) framer, based on Martin Soto's 0.8 plugin
2005-09-01 17:31:21 +00:00
Wim Taymans 79e6e75405 gst/dvdlpcmdec/gstdvdlpcmdec.c: Cleanups, fixed header parsing and stripping.
Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_setcaps),
(gst_dvdlpcmdec_chain_dvd), (gst_dvdlpcmdec_chain_raw),
(gst_dvdlpcmdec_change_state):
Cleanups, fixed header parsing and stripping.
2005-09-01 11:52:34 +00:00
Michael Smith d4eba730ac Use the right bytes when parsing the LPCM dvd header
Original commit message from CVS:
Use the right bytes when parsing the LPCM dvd header
2005-09-01 11:34:39 +00:00
Michael Smith 0f5b17ead6 Return the correct values from chain function
Original commit message from CVS:
Return the correct values from chain function
2005-09-01 11:16:15 +00:00
Michael Smith 073a2e5dc0 Restructure LPCM decoder to not expect the demuxer to parse the LPCM header; instead do this internally. Also support...
Original commit message from CVS:
Restructure LPCM decoder to not expect the demuxer to parse the LPCM
header; instead do this internally. Also support the old way, using
a different mime-type. CVS:
2005-08-31 19:37:08 +00:00
Thomas Vander Stichele 7d7c3e478e add plugin documentation
Original commit message from CVS:
add plugin documentation
2005-08-31 18:33:08 +00:00
Michael Smith 9f0c73f484 Port LPCM decoder to 0.9
Original commit message from CVS:
Port LPCM decoder to 0.9
2005-08-31 11:53:35 +00:00
Jan Schmidt 63a8a2d555 configure.ac: Remove plugins that should have disappeared.
Original commit message from CVS:
* configure.ac:
Remove plugins that should have disappeared.
2005-08-30 20:51:28 +00:00
Jan Schmidt 3e5047918a Make autogen work again.
Original commit message from CVS:
* autogen.sh:
* configure.ac:
Make autogen work again.
2005-08-30 20:42:39 +00:00
Thomas Vander Stichele 471b4b748b all these plugins are moved to gst-plugins-good
Original commit message from CVS:
all these plugins are moved to gst-plugins-good
2005-08-30 17:59:55 +00:00
Flavio Oliveira 2dad1f3059 Ported to GStreamer 0.9. Need to fix performance issues.
Original commit message from CVS:
Ported to GStreamer 0.9. Need to fix performance issues.
2005-08-30 12:59:30 +00:00
Andy Wingo 57d58bee29 Updates for two-arg init from GST_BOILERPLATE.
Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use
the second arg for the class, because G_OBJECT_GET_CLASS (self)
returns the wrong thing.
(gst_signal_processor_add_pad_from_template): Make pads of the
right type.

* ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make
writable param specs G_PARAM_CONSTRUCT so default values work.
(gst_ladspa_init): Use the second arg for the class.
2005-08-28 17:59:20 +00:00