various: fix pad template ref leaks https://bugzilla.gnome.org/show_bug.cgi?id=662664
mpegstream: fix unused-but-set-variable warnings with gcc 4.6
index: use delta frame flags instead of 0 or none
mpegstream: Don't use GST_FLOW_IS_SUCCESS()
build: Add all kinds of compiler warning flags and fix the resulting warnings
gst_element_class_set_details => gst_element_class_set_details_simple
mpegstream: Remove dead assignments. The duplicate assignment of update_time was weird... but it seems normal that it's indeed the second statement which is the valid one.
gst/mpegstream/: Fix some caps leaks. Fixes bug #564885. Original commit message from CVS: Patch by: Yves Lefebvre <ivanohe at abacom dot com> * 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_reset): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_init_stream), (gst_mpeg_demux_get_video_stream), (gst_mpeg_demux_get_audio_stream), (gst_mpeg_demux_reset): * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_chain): Fix some caps leaks. Fixes bug #564885.
gst/mpegstream/: Fix memmory corruption due to not storing the new updated pointer after a g_renew(). Fixes #558896. Original commit message from CVS: Patch by: Tal Shalif <tshalif at nargila dot org> * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_subpicture_stream): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream), (gst_mpeg_demux_get_audio_stream): Fix memmory corruption due to not storing the new updated pointer after a g_renew(). Fixes #558896.
gst/mpegstream/: Resend tags event after a FLUSH (seek) to support prerolling a partial pipeline. Original commit message from CVS: * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init), (gst_dvd_demux_get_audio_stream), (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_parse_packhead), (gst_dvd_demux_reset): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_init), (gst_mpeg_demux_process_event), (gst_mpeg_demux_init_stream), (gst_mpeg_demux_parse_packhead), (gst_mpeg_demux_reset): * gst/mpegstream/gstmpegdemux.h: Resend tags event after a FLUSH (seek) to support prerolling a partial pipeline.
gst/mpegstream/gstmpegdemux.c: Bridge gaps in stream by NEWSEGMENT sending. Fixes #540194. Original commit message from CVS: * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_sync_stream_to_time): Bridge gaps in stream by NEWSEGMENT sending. Fixes #540194.
ext/dvdread/dvdreadsrc.c: Allow and implement non-flushing and/or segment seek (mainly in TIME and chapter format). Original commit message from CVS: * ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read), (gst_dvd_read_src_create), (gst_dvd_read_src_handle_seek_event): Allow and implement non-flushing and/or segment seek (mainly in TIME and chapter format). * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event), (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_synchronise_pads), (gst_dvd_demux_sync_stream_to_time): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_process_event), (gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_sync_stream_to_time), (gst_mpeg_streams_reset_cur_ts): * gst/mpegstream/gstmpegdemux.h: * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event), (gst_mpeg_parse_pad_added), (gst_mpeg_parse_handle_src_query): Delegate a query to upstream if it can't be handled. Make segment stop aware. Fix (subtitle) stream synchronization. Add some debug statements.
gst/mpegstream/gstmpegdemux.c: recognize the padding stream Original commit message from CVS: * gst/mpegstream/gstmpegdemux.c: recognize the padding stream
gst/mpegstream/gstmpegdemux.c: Add sanity check so we don't abort for broken or non-MPEG streams, but instead error o... Original commit message from CVS: * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer): Add sanity check so we don't abort for broken or non-MPEG streams, but instead error out. Fixes crashes/aborts for when our typefinder wrongly identifies quicktime files as mpeg (which should be fixed in -base now too). (#440120).
gst/mpegstream/: Reset last_flow values for the various streams after a flushing seek, otherwise we might aggregate w... Original commit message from CVS: Based on patch by: Mark Nauwelaerts <manauw skynet be> * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init), (gst_mpeg_demux_process_event), (gst_mpeg_streams_reset_last_flow): * gst/mpegstream/gstmpegdemux.h: Reset last_flow values for the various streams after a flushing seek, otherwise we might aggregate wrong flow returns afterwards that will make upstream pause silently. This should fix seeking in DVDs and also fix the Thoggen cropping dialog (#438610).
gst/mpegstream/: Fix flow value combination; this fixes playbin/totem locking up if a VobSub file is specified as sub... Original commit message from CVS: * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init), (gst_dvd_demux_class_init), (gst_dvd_demux_combine_flows), (gst_dvd_demux_send_subbuffer): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init), (gst_mpeg_demux_init_stream), (gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes), (gst_mpeg_demux_combine_flows), (gst_mpeg_demux_send_subbuffer): * gst/mpegstream/gstmpegdemux.h: * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event), (gst_mpeg_parse_chain): Fix flow value combination; this fixes playbin/totem locking up if a VobSub file is specified as subtitle file (#334322). Flow value combination should only happen once we are fairly sure we've got all pads that are available for now. Since there isn't a well-specified time when this is the case in MPEG, we'll just assume this is the case once there has been a certain number of packets for each stream we've found so far.
gst/: Active pads before adding them to the running element. Don't assert on non-BYTE format newsegment events in asf... Original commit message from CVS: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event), (gst_asf_demux_setup_pad), (gst_asf_demux_process_segment): * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream), (gst_dvd_demux_get_subpicture_stream): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream), (gst_mpeg_demux_get_audio_stream), (gst_mpeg_demux_get_private_stream): Active pads before adding them to the running element. Don't assert on non-BYTE format newsegment events in asfdemux.
gst/mpegstream/: Send newsegment updates for sparse streams (#350778). Original commit message from CVS: Patch by: Martin Zlomek <martin dot zlomek at itonis dot tv> * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_reset), (gst_dvd_demux_sync_stream_to_time): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_synchronise_pads), (gst_mpeg_demux_sync_stream_to_time): Send newsegment updates for sparse streams (#350778).
gst/mpegstream/: Do state changes correctly Original commit message from CVS: * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_change_state): * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_change_state): * gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_change_state): Do state changes correctly
ext/mad/gstmad.c: move GstIndexEntry *entry variable declaration before the first instruction Original commit message from CVS: * ext/mad/gstmad.c: (index_seek): move GstIndexEntry *entry variable declaration before the first instruction * ext/mad/gstmad.c: remove debug macros with variable number of parameter by using GST_DEBUG for WIN32 * gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_parse_subpic): use gst_guint64_to_gdouble for conversions * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_sync_stream_to_time): replace __FUNCTION__ which is not supported by MSVC by the current function name * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_reset): remove LL suffix by using G_GINT64_CONSTANT * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead),(gst_mpeg_parse_get_rate): use gst_guint64_to_gdouble for conversions * gst/mpegstream/gstmpegparse.h: remove LL suffix by using G_GINT64_CONSTANT * win32/vs6: add project files for tagac3parse, asfdemux, dvdlpcmdec, dvdsub, iec958, lame, mad, mpegaudioparse, mpegstream, realmedia, synaesthesia