2006-01-05 Martin Soto * 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. 2006-01-04 Tim-Philipp Müller * 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. 2005-12-31 Martin Soto * 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. 2005-12-30 Jan Schmidt * 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 2005-12-27 Martin Soto * 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. 2005-12-26 Martin Soto * 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. 2005-12-23 Michael Smith * 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. 2005-12-21 Tim-Philipp Müller * 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). 2005-12-21 Josef Zlomek Reviewed by: Tim-Philipp Müller * ext/mpeg2dec/gstmpeg2dec.c: (normal_seek): Really convert to BYTES format when we want to convert to bytes (use right variable; fixes #322856). 2005-12-19 Martin Soto 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. 2005-12-18 Jan Schmidt * 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. 2005-12-16 Stefan Kost * gst/asfdemux/gstasfmux.c: (gst_asfmux_file_start): change some char* into char[] 2005-12-15 Edward Hervey * gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream): Remove memleak from unused GstRMDemuxStream 2005-12-12 Michael Smith * 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-09 Tim-Philipp Müller * 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-08 Martin Soto * 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-07 Edward Hervey * 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-06 Thomas Vander Stichele * ext/a52dec/gsta52dec.h: * ext/dvdread/dvdreadsrc.h: * ext/lame/gstlame.h: * ext/mad/gstid3tag.c: * ext/mad/gstmad.c: (gst_mad_update_info): * ext/mad/gstmad.h: * ext/mpeg2dec/gstmpeg2dec.h: * ext/sidplay/gstsiddec.h: * gst/ac3parse/gstac3parse.c: * gst/ac3parse/gstac3parse.h: * gst/asfdemux/gstasfdemux.c: * gst/asfdemux/gstasfdemux.h: * gst/iec958/ac3iec.h: * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): * gst/mpegaudioparse/gstmpegaudioparse.h: * gst/mpegstream/gstdvddemux.h: * gst/mpegstream/gstmpegclock.h: * gst/mpegstream/gstmpegdemux.h: * gst/mpegstream/gstmpegpacketize.h: * gst/mpegstream/gstmpegparse.c: * gst/mpegstream/gstmpegparse.h: * gst/mpegstream/gstrfc2250enc.c: * gst/mpegstream/gstrfc2250enc.h: * gst/realmedia/rmdemux.c: * gst/realmedia/rmdemux.h: * gst/synaesthesia/synaescope.c: expand tabs === release 0.10.0 === 2005-12-05 * configure.ac: releasing 0.10.0, "Brie" 2005-12-05 Andy Wingo * 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 Andy Wingo * ext/mad/gstid3tag.c (plugin_init): Remove id3tag -- there's just id3demux and id3mux now. Fixes #323199. 2005-12-02 Thomas Vander Stichele * ext/amrnb/Makefile.am: * gst/realmedia/Makefile.am: fix silly Makefile.am bug so they link correctly again === release 0.9.7 === 2005-12-01 * configure.ac: releasing 0.9.7, "Canis Meus Naso Non Habet" 2005-12-01 Thomas Vander Stichele * ext/amrnb/Makefile.am: * gst/realmedia/Makefile.am: Don't know how these escaped my eye before. Fix link flags. 2005-11-29 Michal Benes Reviewed by: Tim-Philipp Müller * 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-28 Martin Soto * 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 Michael Smith * gst/realmedia/rmdemux.c: (gst_rmdemux_loop): Don't treat normal EOS as a fatal error. 2005-11-28 Edward Hervey * 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-25 Jan Schmidt * 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 Michael Smith * 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 Jan Schmidt * 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-23 Martin Soto * 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-23 Thomas Vander Stichele * configure.ac: back to HEAD === release 0.9.6 === 2005-11-23 Thomas Vander Stichele * configure.ac: releasing 0.9.6, "The Marshals Are Dead" 2005-11-23 Michael Smith * 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 Jan Schmidt * 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-22 Wim Taymans * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_set_clock): set_clock returns a boolean. 2005-11-22 Tim-Philipp Müller * 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 Tim-Philipp Müller * 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 Thomas Vander Stichele * ext/lame/gstlame.c: * ext/mad/gstmad.c: * ext/sidplay/gstsiddec.cc: fix up GValueEnum 2005-11-22 Andy Wingo * Update for gst_tag_setter API changes. 2005-11-22 Andy Wingo * 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 Tim-Philipp Müller * ext/mad/Makefile.am: libgsttagedit => libgsttag 2005-11-22 Edward Hervey * ext/lame/gstlame.c: (gst_lame_sink_event): Don't take the stream lock 2005-11-21 Andy Wingo * 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. * *.h: * *.c: Ran scripts/update-macros. Oh yes. 2005-11-21 Tim-Philipp Müller * 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 Tim-Philipp Müller * 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 Edward Hervey * 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-18 Michael Smith * gst/iec958/ac3iec.c: (ac3iec_init), (ac3iec_chain_dvd): Remove some setcaps brokenness. Don't crash on bad input. 2005-11-15 Johan Dahlin * 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 Tim-Philipp Müller * 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-14 Martin Soto * gst/mpegstream/Makefile.am (noinst_HEADERS): Add gstrfc2250enc.h. 2005-11-14 Martin Soto * 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 to partially port the mpegstream plugin to GStreamer 0.9. 2005-11-14 Andy Wingo * configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better debugging, allows dll builds on windows. Fixes #316076. 2005-11-11 Thomas Vander Stichele * configure.ac: back to HEAD === release 0.9.5 === 2005-11-11 Thomas Vander Stichele * configure.ac: releasing 0.9.5, "Zero-Test Patching" 2005-10-27 Wim Taymans * 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 Wim Taymans * 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-26 Wim Taymans * 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-24 Christian Schaller * configure.ac: port over thomas plugin listing from base 2005-10-24 Thomas Vander Stichele * configure.ac: back to HEAD === release 0.9.4 === 2005-10-24 Thomas Vander Stichele * NEWS: * RELEASE: * configure.ac: Releasing 0.9.4, "Diplodocus" 2005-10-23 Julien MOUTTE * gst/realmedia/rmdemux.c: (gst_rmdemux_loop): STOPPED->FAILED 2005-10-21 Wim Taymans * 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 Thomas Vander Stichele * ext/Makefile.am: fix distcheck 2005-10-20 Tim-Philipp Müller * 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 Josef Zlomek Reviewed by: Tim-Philipp Müller * configure.ac: * ext/a52dec/Makefile.am: * ext/a52dec/gsta52dec.c: * ext/a52dec/gsta52dec.h: Port AC3 decoder to 0.9 (#318849). 2005-10-20 Wim Taymans * ext/sidplay/gstsiddec.cc: Small fixes and more error messages. 2005-10-19 Wim Taymans * 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 Tim-Philipp Müller * configure.ac: GST_DOC has been renamed to GST_DOCBOOK_CHECK 2005-10-19 Thomas Vander Stichele * configure.ac: some docs I had * ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain): trivial fixes 2005-10-18 Wim Taymans * gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset), (gst_rmdemux_perform_seek): segment-start/done API change. 2005-10-17 Michael Smith * gst/iec958/ac3iec.c: (ac3iec_chain_raw): Set buffer duration on IEC958 buffers. 2005-10-16 Tim-Philipp Müller * configure.ac: Fix glib check 2005-10-13 Tim-Philipp Müller * 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 Stefan Kost * examples/stats/mp2ogg.c: yes, typo fixes 2005-10-12 Stefan Kost * 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-11 Wim Taymans * 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-06 Wim Taymans * 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-05 Michael Smith * 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_packet): Improve seeking error-resilience. General improvements in error handling. 2005-10-03 Thomas Vander Stichele * configure.ac: back to development === release 0.9.3 === 2005-10-03 Thomas Vander Stichele * NEWS: * README: * configure.ac: releasing 0.9.3, "Athos" 2005-09-30 Michael Smith * gst/realmedia/rmdemux.c: (gst_rmdemux_src_event), (gst_rmdemux_perform_seek), (gst_rmdemux_src_query), (gst_rmdemux_change_state), (gst_rmdemux_loop), (gst_rmdemux_fourcc_isplausible), (gst_rmdemux_chain), (gst_rmdemux_send_event), (gst_rmdemux_add_stream), (gst_rmdemux_parse_packet): * gst/realmedia/rmdemux.h: Sanity checking, and fix some minor memory leaks 2005-09-29 Michael Smith * 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-26 Wim Taymans * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_sink_event), (gst_mp3parse_chain): Set correct caps on buffers too. 2005-09-26 Wim Taymans * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init), (gst_mp3parse_sink_event), (gst_mp3parse_chain): * gst/mpegaudioparse/gstmpegaudioparse.h: Put timestamps on buffers. 2005-09-21 Flavio Oliveira * ext/amrnb/amrnbenc.c: (gst_amrnbenc_base_init): Changed amrnbenc description, it is an encoder, not decoder. 2005-09-21 Michael Smith * gst/ac3parse/gstac3parse.c: (gst_ac3parse_class_init), (gst_ac3parse_init), (gst_ac3parse_chain): * gst/iec958/ac3_padder.c: (ac3_crc_init), (ac3_crc_update), (ac3_crc_validate), (ac3p_init), (ac3p_parse): * gst/iec958/ac3_padder.h: * gst/iec958/ac3iec.c: 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-20 Thomas Vander Stichele * 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 Wim Taymans * ext/lame/gstlame.c: (gst_lame_chain): Set caps on outgoing buffers. 2005-09-16 Thomas Vander Stichele * ext/lame/gstlame.c: * ext/lame/gstlame.h: clean up further so we don't try to set up five times for a simple pipeline 2005-09-16 Michael Smith * gst/iec958/ac3iec.c: (ac3iec_init): Set setcaps function on sink pad, not source pad. Produce correct caps on output buffers. 2005-09-07 Stefan Kost * ext/mad/gstid3tag.c: gsttaginterface.h -> gsttagsetter.h === release 0.9.1 === 2005-09-06 Thomas Vander Stichele * README: * NEWS: * autogen.sh: * configure.ac: releasing 0.9.1, "The Rat" 2005-09-06 Wim Taymans * 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-05 Jan Schmidt * ext/mpeg2dec/gstmpeg2dec.c: GST_CAT_SEEK disappeared from the public API at some point 2005-09-02 Michael Smith * gst/iec958/ac3iec.c: Use the right mime-type for AC3 input, audio/x-private1-ac3, as output by demux 2005-09-02 Michael Smith * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_dvd): * gst/iec958/ac3iec.c: (ac3iec_get_type), (ac3iec_base_init), (ac3iec_class_init), (ac3iec_init), (ac3iec_finalize), (ac3iec_setcaps), (ac3iec_set_property), (ac3iec_get_property), (ac3iec_chain_dvd), (ac3iec_chain_raw), (ac3iec_change_state), (plugin_init): Changes to use the first_access parameter correctly in ac3 and lpcm plugins. General cleanups in iec958 framer. 2005-09-01 Michael Smith * configure.ac: * gst/iec958/Makefile.am: * gst/iec958/ac3_padder.c: (ac3p_init), (ac3p_push_data), (ac3p_parse): * gst/iec958/ac3_padder.h: * gst/iec958/ac3iec.c: (ac3iec_get_type), (ac3iec_base_init), (ac3iec_class_init), (ac3iec_init), (ac3iec_finalize), (ac3iec_set_property), (ac3iec_get_property), (ac3iec_chain), (ac3iec_change_state), (plugin_init): * gst/iec958/ac3iec.h: AC3 -> IEC958 (S/PDIF) framer, port of Martin Soto's 0.8 plugin. 2005-09-01 Wim Taymans * 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 Michael Smith * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_setcaps), (update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd), (gst_dvdlpcmdec_chain_raw): Use the right bytes to parse the LPCM dvd header 2005-09-01 Michael Smith * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_setcaps), (update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd), (gst_dvdlpcmdec_chain_raw): Return the correct values from chain function. 2005-08-31 Michael Smith * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_setcaps), (update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd), (gst_dvdlpcmdec_chain_raw): * gst/dvdlpcmdec/gstdvdlpcmdec.h: 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. 2005-08-31 Thomas Vander Stichele * Makefile.am: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-ugly-plugins-docs.sgml: * docs/plugins/gst-plugins-ugly-plugins-sections.txt: * docs/plugins/gst-plugins-ugly-plugins.types: * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_tca_seek): * ext/dvdread/dvdreadsrc.c: (_open), (_seek_title), (_seek_chapter), (_read): * gst/mpegaudioparse/gstmpegaudioparse.c: add plugin documentation