summaryrefslogtreecommitdiffstats
path: root/gst
AgeCommit message (Collapse)AuthorFilesLines
2008-01-21gst/deinterlace/gstdeinterlace.*: Provide 4:2:2 supportGabriel Bouvigne2-73/+159
Original commit message from CVS: Patch by: Gabriel Bouvigne <bouvigne at mp3-tech dot org> * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init), (gst_deinterlace_init), (gst_deinterlace_set_caps), (gst_deinterlace_transform_ip), (gst_deinterlace_set_property), (gst_deinterlace_get_property): * gst/deinterlace/gstdeinterlace.h: Provide 4:2:2 support Also deinterlace chroma planes Allow to turn on/off deinterlacing Change of default thresholds, in order to provide acceptable results with default params. Fixes #511001.
2008-01-21gst/dvdspu/: Fix up dvdspu element again after previous namespace mangling: ↵Tim-Philipp Müller3-89/+90
rename debug category variable to old nam... Original commit message from CVS: * gst/dvdspu/gstdvdspu-render.c: (gst_dvd_spu_render_spu): * gst/dvdspu/gstdvdspu.c: (dvdspu_debug), (GST_CAT_DEFAULT), (subpic_sink_factory), (gst_dvd_spu_base_init), (gst_dvd_spu_class_init), (gst_dvd_spu_init), (gst_dvd_spu_clear), (gst_dvd_spu_dispose), (gst_dvd_spu_finalize), (gst_dvd_spu_flush_spu_info), (gst_dvd_spu_buffer_alloc), (gst_dvd_spu_src_event), (gst_dvd_spu_video_set_caps), (gst_dvd_spu_video_proxy_getcaps), (gst_dvd_spu_video_event), (gst_dvd_spu_video_chain), (dvspu_handle_vid_buffer), (gst_dvd_spu_redraw_still), (gst_dvd_spu_parse_chg_colcon), (gst_dvd_spu_exec_cmd_blk), (gst_dvd_spu_finish_spu_buf), (gst_dvd_spu_setup_cmd_blk), (gst_dvd_spu_handle_new_spu_buf), (gst_dvd_spu_handle_dvd_event), (gst_dvd_spu_advance_spu), (gst_dvd_spu_check_still_updates), (gst_dvd_spu_subpic_chain), (gst_dvd_spu_subpic_event), (gst_dvd_spu_change_state), (gst_dvd_spu_plugin_init): * gst/dvdspu/gstdvdspu.h: (GST_TYPE_DVD_SPU): Fix up dvdspu element again after previous namespace mangling: rename debug category variable to old name, matching that in dvdspu-render.c, to avoid undefined symbol error when loading the module; same for the _render function in dvdspu-render.c: we must use the same name in both .c files; change functions now called gstgst_* back to gst_* again; and while we're at it, we may as well canonicalise the namespace properly, namely to gst_dvd_spu_*.
2008-01-21docs/plugins/: Add symbols from -unused.txt to the right place.Stefan Kost3-99/+108
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-sections.txt: Add symbols from -unused.txt to the right place. * gst/dvdspu/gstdvdspu.c: * gst/dvdspu/gstdvdspu.h: Coherent namespace usage. * gst/spectrum/gstspectrum.c: Fix broken XML fragment in doc snippet even more.
2008-01-21docs/plugins/Makefile.am: Update include list.Stefan Kost1-1/+1
Original commit message from CVS: * docs/plugins/Makefile.am: Update include list. * docs/plugins/gst-plugins-bad-plugins-docs.sgml: Update xml includes. * docs/plugins/inspect/plugin-alsaspdif.xml: * docs/plugins/inspect/plugin-amrwb.xml: * docs/plugins/inspect/plugin-bayer.xml: * docs/plugins/inspect/plugin-bz2.xml: * docs/plugins/inspect/plugin-cdxaparse.xml: * docs/plugins/inspect/plugin-dtsdec.xml: * docs/plugins/inspect/plugin-dvbsrc.xml: * docs/plugins/inspect/plugin-dvdspu.xml: * docs/plugins/inspect/plugin-equalizer.xml: * docs/plugins/inspect/plugin-faac.xml: * docs/plugins/inspect/plugin-faad.xml: * docs/plugins/inspect/plugin-fbdevsink.xml: * docs/plugins/inspect/plugin-festival.xml: * docs/plugins/inspect/plugin-filter.xml: * docs/plugins/inspect/plugin-flvdemux.xml: * docs/plugins/inspect/plugin-freeze.xml: * docs/plugins/inspect/plugin-gsm.xml: * docs/plugins/inspect/plugin-gstinterlace.xml: * docs/plugins/inspect/plugin-gstrtpmanager.xml: * docs/plugins/inspect/plugin-h264parse.xml: * docs/plugins/inspect/plugin-interleave.xml: * docs/plugins/inspect/plugin-ladspa.xml: * docs/plugins/inspect/plugin-metadata.xml: * docs/plugins/inspect/plugin-modplug.xml: * docs/plugins/inspect/plugin-mpeg4videoparse.xml: * docs/plugins/inspect/plugin-mpegtsparse.xml: * docs/plugins/inspect/plugin-mpegvideoparse.xml: * docs/plugins/inspect/plugin-musicbrainz.xml: * docs/plugins/inspect/plugin-mve.xml: * docs/plugins/inspect/plugin-nsfdec.xml: * docs/plugins/inspect/plugin-nuvdemux.xml: * docs/plugins/inspect/plugin-qtdemux.xml: * docs/plugins/inspect/plugin-quicktime.xml: * docs/plugins/inspect/plugin-real.xml: * docs/plugins/inspect/plugin-replaygain.xml: * docs/plugins/inspect/plugin-sdl.xml: * docs/plugins/inspect/plugin-sdp.xml: * docs/plugins/inspect/plugin-spectrum.xml: * docs/plugins/inspect/plugin-speed.xml: * docs/plugins/inspect/plugin-speexresample.xml: * docs/plugins/inspect/plugin-stereo.xml: * docs/plugins/inspect/plugin-switch.xml: * docs/plugins/inspect/plugin-timidity.xml: * docs/plugins/inspect/plugin-tta.xml: * docs/plugins/inspect/plugin-videocrop.xml: * docs/plugins/inspect/plugin-videoparse.xml: * docs/plugins/inspect/plugin-videosignal.xml: * docs/plugins/inspect/plugin-vmnc.xml: * docs/plugins/inspect/plugin-wildmidi.xml: * docs/plugins/inspect/plugin-x264.xml: * docs/plugins/inspect/plugin-xingheader.xml: * docs/plugins/inspect/plugin-xvid.xml: * docs/plugins/inspect/plugin-y4menc.xml: Regenerate files. * gst/spectrum/gstspectrum.c: Fix broken XML fragment in doc snippet. * tests/check/elements/.cvsignore: Add test binary to ignores.
2008-01-21gst/h264parse/gsth264parse.c: Fix the build. GST_TIME_ARGS takes a timestamp ↵Stefan Kost1-1/+1
not a buffer. Original commit message from CVS: * gst/h264parse/gsth264parse.c: Fix the build. GST_TIME_ARGS takes a timestamp not a buffer.
2008-01-19gst/rawparse/gstrawparse.c: Handle framesizes > 4096 with multiple frames ↵Sebastian Dröge1-5/+14
per buffer correctly in pull mode and handl... Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_push_buffer), (gst_raw_parse_loop): Handle framesizes > 4096 with multiple frames per buffer correctly in pull mode and handle short reads better. Also put offset and offset_end on outgoing buffers.
2008-01-19gst/rawparse/gstrawparse.c: Improve handling of unknown or too small ↵Sebastian Dröge1-5/+6
upstream sizes in pull mode. Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_loop): Improve handling of unknown or too small upstream sizes in pull mode.
2008-01-19gst/rawparse/gstrawparse.c: Improve debugging a bit and for handling ↵Sebastian Dröge1-1/+6
multiple frames per buffer in pull mode choose t... Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_loop), (gst_raw_parse_handle_seek_push): Improve debugging a bit and for handling multiple frames per buffer in pull mode choose the next smallest multiply of framesize below 4096 instead of always handling 1024 frames.
2008-01-18gst/h264parse/gsth264parse.c: Set timestamps more correctly.Wim Taymans1-1/+18
Original commit message from CVS: * gst/h264parse/gsth264parse.c: (gst_h264_parse_flush_decode), (gst_h264_parse_queue_buffer), (gst_h264_parse_chain_reverse): Set timestamps more correctly.
2008-01-18gst/rawparse/gstrawparse.*: Implement pull mode.Sebastian Dröge2-78/+397
Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_class_init), (gst_raw_parse_init), (gst_raw_parse_reset), (gst_raw_parse_set_src_caps), (gst_raw_parse_push_buffer), (gst_raw_parse_chain), (gst_raw_parse_loop), (gst_raw_parse_sink_activate), (gst_raw_parse_sink_activatepull), (gst_raw_parse_change_state), (gst_raw_parse_sink_event), (gst_raw_parse_handle_seek_push), (gst_raw_parse_handle_seek_pull), (gst_raw_parse_src_event), (gst_raw_parse_src_query): * gst/rawparse/gstrawparse.h: Implement pull mode.
2008-01-18gst/multifile/gstmultifilesrc.c: Fix memory leak spotted by the unit test.Sebastian Dröge1-0/+1
Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create): Fix memory leak spotted by the unit test.
2008-01-18gst/equalizer/gstiirequalizer.c: Unparent all bands from the equalizer when ↵Sebastian Dröge1-0/+8
finalizing to stop leaking them. Original commit message from CVS: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_finalize): Unparent all bands from the equalizer when finalizing to stop leaking them.
2008-01-17gst/h264parse/gsth264parse.*: Improve debugging.Wim Taymans2-12/+30
Original commit message from CVS: * gst/h264parse/gsth264parse.c: (gst_h264_parse_clear_queues), (gst_h264_parse_flush_decode), (gst_h264_parse_queue_buffer), (gst_h264_parse_find_start_reverse), (gst_h264_parse_chain_reverse), (gst_h264_parse_chain): * gst/h264parse/gsth264parse.h: Improve debugging. Fix buffer splitting at sync codes and leftover buffer after scanning.
2008-01-16gst/h264parse/gsth264parse.*: Add reverse playback support for containers ↵Wim Taymans2-52/+684
that don't know how to properly send data b... Original commit message from CVS: * gst/h264parse/gsth264parse.c: (gst_nal_list_new), (gst_nal_list_prepend_link), (gst_nal_list_delete_head), (gst_nal_bs_init), (gst_nal_bs_read), (gst_nal_bs_eos), (gst_nal_bs_read_ue), (gst_h264_parse_class_init), (gst_h264_parse_init), (gst_h264_parse_set_property), (gst_h264_parse_get_property), (gst_h264_parse_sink_setcaps), (gst_h264_parse_clear_queues), (gst_h264_parse_chain_forward), (gst_h264_parse_flush_decode), (gst_h264_parse_queue_buffer), (gst_h264_parse_find_start_reverse), (gst_h264_parse_chain_reverse), (gst_h264_parse_chain), (gst_h264_parse_sink_event), (gst_h264_parse_change_state): * gst/h264parse/gsth264parse.h: Add reverse playback support for containers that don't know how to properly send data between I-frames.
2008-01-14gst/xingheader/gstxingmux.c: Bitrate is 4 bits, not 8 so check for 0xe as ↵Sebastian Dröge1-2/+2
maximum value instead of 0xfe. Original commit message from CVS: * gst/xingheader/gstxingmux.c: (generate_xing_header): Bitrate is 4 bits, not 8 so check for 0xe as maximum value instead of 0xfe.
2008-01-14gst/xingheader/gstxingmux.c: Remove accidentially leftover debug printf.Sebastian Dröge1-2/+0
Original commit message from CVS: * gst/xingheader/gstxingmux.c: (generate_xing_header): Remove accidentially leftover debug printf.
2008-01-14gst/xingheader/gstxingmux.c: Choose smallest possible frame size for the ↵Sebastian Dröge1-15/+61
Xing header, properly set the timestamp, dur... Original commit message from CVS: * gst/xingheader/gstxingmux.c: (has_xing_header), (generate_xing_header), (gst_xing_mux_chain), (gst_xing_mux_sink_event): Choose smallest possible frame size for the Xing header, properly set the timestamp, duration and offset on the outgoing buffers, only send NEWSEGMENT events in BYTE format downstream and also drop VBRI headers if already existing.
2008-01-12gst/xingheader/: Major cleanup and rewrite of xingmux with less bugs and new ↵Sebastian Dröge3-199/+414
features: Original commit message from CVS: * gst/xingheader/Makefile.am: * gst/xingheader/gstxingmux.c: (parse_header), (get_xing_offset), (has_xing_header), (generate_xing_header), (gst_xing_mux_base_init), (gst_xing_mux_finalize), (xing_reset), (gst_xing_mux_init), (gst_xing_mux_chain), (gst_xing_mux_sink_event), (gst_xing_mux_change_state): * gst/xingheader/gstxingmux.h: Major cleanup and rewrite of xingmux with less bugs and new features: - Handles other layers as 3 - Write TOC
2008-01-11gst/rtpmanager/gstrtpsession.c: If we find the caps in the cache, use it to ↵Wim Taymans1-4/+3
parse the clock-rate instead of returning... Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_clock_rate): If we find the caps in the cache, use it to parse the clock-rate instead of returning an error. Fixes a TODO as found by Youness Alaoui.
2008-01-11gst/rtpmanager/: Make it possible to use different user_data for each of the ↵Youness Alaoui3-22/+174
callbacks. Original commit message from CVS: Patch by: Youness Alaoui <youness dot alaoui at collabora dot co dot uk> * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_clock_rate): * gst/rtpmanager/rtpsession.c: (rtp_session_set_callbacks), (rtp_session_set_process_rtp_callback), (rtp_session_set_send_rtp_callback), (rtp_session_set_send_rtcp_callback), (rtp_session_set_sync_rtcp_callback), (rtp_session_set_clock_rate_callback), (rtp_session_set_reconsider_callback), (source_push_rtp), (source_clock_rate), (rtp_session_process_bye), (rtp_session_process_rtcp), (rtp_session_send_bye), (rtp_session_on_timeout): * gst/rtpmanager/rtpsession.h: Make it possible to use different user_data for each of the callbacks. Fixes #508587.
2008-01-11gst/mpegvideoparse/mpegpacketiser.c: Small meaningless cleanup.Wim Taymans3-28/+321
Original commit message from CVS: * gst/mpegvideoparse/mpegpacketiser.c: (mpeg_util_find_start_code): Small meaningless cleanup. * gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_flush), (mpegvideoparse_drain_avail), (gst_mpegvideoparse_chain_forward), (scan_keyframe), (gst_mpegvideoparse_flush_decode), (gst_mpegvideoparse_chain_reverse), (gst_mpegvideoparse_chain), (mpv_parse_sink_event), (gst_mpegvideoparse_change_state): * gst/mpegvideoparse/mpegvideoparse.h: Track segment events. Do the first part of reverse playback by sending data between two I-frames to the decoder.
2008-01-10gst/rtpmanager/gstrtpbin.c: Fix documentation for latest patchThijs Vermeir1-2/+2
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: Fix documentation for latest patch
2008-01-10gst/rtpmanager/gstrtpbin.c: Allow request_new_pad with name NULL (bug #508515)Thijs Vermeir1-4/+46
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: Allow request_new_pad with name NULL (bug #508515)
2008-01-09gst/rtpmanager/gstrtpsession.c: Don't set fixed caps, we can basically do ↵Wim Taymans1-1/+0
everything the upsteam peer pad can renegot... Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (create_send_rtp_sink): Don't set fixed caps, we can basically do everything the upsteam peer pad can renegotiate to. Fixes #507940.
2008-01-04gst/rtpmanager/gstrtpjitterbuffer.c: Don't unref the popped buffer when we ↵Wim Taymans1-3/+1
don't have ownership. Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_loop): Don't unref the popped buffer when we don't have ownership. Fixes #507020.
2008-01-03gst/mpegtsparse/: Remove no longer needed files.Zaheer Abbas Merali7-707/+2
Original commit message from CVS: * gst/mpegtsparse/Makefile.am: * gst/mpegtsparse/flutspatinfo.c: * gst/mpegtsparse/flutspatinfo.h: * gst/mpegtsparse/flutspmtinfo.c: * gst/mpegtsparse/flutspmtinfo.h: * gst/mpegtsparse/flutspmtstreaminfo.c: * gst/mpegtsparse/flutspmtstreaminfo.h: Remove no longer needed files.
2008-01-01ext/musicbrainz/gsttrm.c: Don't emit signiture when going to READY, because ↵David Schleef4-20/+18
it might not be ready. Original commit message from CVS: * ext/musicbrainz/gsttrm.c: Don't emit signiture when going to READY, because it might not be ready. * ext/nas/nassink.c: Remove useless call that sleeps for 5 seconds. Yup, it calls sleep(1) 5 times. Go NAS. * gst/librfb/gstrfbsrc.c: * gst/librfb/rfbdecoder.c: Initialize our debug categories properly. * gst/rawparse/gstrawparse.c: Don't register element details for a non-element. Be much more rude when subclass doesn't set a pad template (assert!). Don't unref the pad template; we don't own it. * gst/videosignal/gstvideoanalyse.c: Initialize debug category. * tests/check/Makefile.am: Ignore nassink element in tests because it has unavoidable long timeouts.
2007-12-31gst/rtpmanager/gstrtpssrcdemux.c: Don't clean up pads when going to PAUSED.Wim Taymans1-0/+1
Original commit message from CVS: * gst/rtpmanager/gstrtpssrcdemux.c: (gst_rtp_ssrc_demux_change_state): Don't clean up pads when going to PAUSED.
2007-12-29Fix 'xyz may be used uninitialized' compiler warnings caused by broken ↵Sebastian Dröge1-1/+1
g_assert_not_reached() macro in GLib-2.15.x an... Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_get_property): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_show_frame): * gst/mve/gstmvemux.c: (gst_mve_mux_request_new_pad): * sys/dvb/dvbbasebin.c: (dvb_base_bin_class_init): Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x and don't abort() in any case but properly report the error.
2007-12-23gst/videoparse/: Remove videoparse element, because it was moved to ↵David Schleef3-947/+0
gst/rawparse/ Original commit message from CVS: * gst/videoparse/Makefile.am: * gst/videoparse/README: * gst/videoparse/gstvideoparse.c: Remove videoparse element, because it was moved to gst/rawparse/
2007-12-23gst/rawparse/gstrawparse.c: Always seek on frame boundaries, will produce ↵Sebastian Dröge1-0/+5
nothing useful otherwise. Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_src_event): Always seek on frame boundaries, will produce nothing useful otherwise.
2007-12-23Add new plugin rawparse that contains a base class for raw data parsers and ↵Sebastian Dröge9-0/+1627
the two elements audioparse and videopars... Original commit message from CVS: * configure.ac: * gst/rawparse/Makefile.am: * gst/rawparse/README: * gst/rawparse/gstaudioparse.c: (gst_audio_parse_format_get_type), (gst_audio_parse_endianness_get_type), (gst_audio_parse_base_init), (gst_audio_parse_class_init), (gst_audio_parse_init), (gst_audio_parse_set_property), (gst_audio_parse_get_property), (gst_audio_parse_update_frame_size), (gst_audio_parse_get_caps): * gst/rawparse/gstaudioparse.h: * gst/rawparse/gstrawparse.c: (gst_raw_parse_base_init), (gst_raw_parse_class_init), (gst_raw_parse_init), (gst_raw_parse_dispose), (gst_raw_parse_class_set_src_pad_template), (gst_raw_parse_class_set_multiple_frames_per_buffer), (gst_raw_parse_reset), (gst_raw_parse_chain), (gst_raw_parse_convert), (gst_raw_parse_sink_event), (gst_raw_parse_src_event), (gst_raw_parse_src_query_type), (gst_raw_parse_src_query), (gst_raw_parse_set_framesize), (gst_raw_parse_set_fps), (gst_raw_parse_get_fps), (gst_raw_parse_is_negotiated): * gst/rawparse/gstrawparse.h: * gst/rawparse/gstvideoparse.c: (gst_video_parse_format_get_type), (gst_video_parse_endianness_get_type), (gst_video_parse_base_init), (gst_video_parse_class_init), (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property), (gst_video_parse_format_to_fourcc), (gst_video_parse_update_frame_size), (gst_video_parse_get_caps): * gst/rawparse/gstvideoparse.h: * gst/rawparse/plugin.c: (plugin_init): Add new plugin rawparse that contains a base class for raw data parsers and the two elements audioparse and videoparse that can be used to parse raw audio and video. These are inspired by the old videoparse element which the new rawparse plugin deprecates.
2007-12-20gst/: Ignore more.Tim-Philipp Müller2-0/+3
Original commit message from CVS: * gst/equalizer/.cvsignore: * gst/switch/.cvsignore: Ignore more.
2007-12-18gst/switch/: gst/switch/gstswitch.c (enum, gst_selector_pad_class_init) ↵Andy Wingo3-54/+117
(gst_selector_pad_get_property) (gst_selector... Original commit message from CVS: 2007-12-18 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch-marshal.list: * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (enum, gst_selector_pad_class_init) (gst_selector_pad_get_property) (gst_selector_pad_get_running_time) (gst_stream_selector_class_init, gst_segment_get_timestamp) (gst_segment_set_stop, gst_segment_set_start) (gst_stream_selector_set_active_pad, gst_stream_selector_block) (gst_stream_selector_push_pending_stop) (gst_stream_selector_switch): Change so that the signals and properties deal in running time, not buffer time. Document the signals more. Change uint64 in API to int64, to reflect what's in GstSegment.
2007-12-17gst/multifile/gstmultifilesrc.*: When subsequent files are read, if the file ↵David Schleef2-1/+10
doesn't exist, send an EOS instead of ca... Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: * gst/multifile/gstmultifilesrc.h: When subsequent files are read, if the file doesn't exist, send an EOS instead of causing an error.
2007-12-17gst/switch/gstswitch.c (gst_selector_pad_chain): Return OK when a buffer is ↵Andy Wingo1-1/+1
ignored, not NOT_LINKED. No sense in maki... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_selector_pad_chain): Return OK when a buffer is ignored, not NOT_LINKED. No sense in making a source element error out; at least fdsrc considers NOT_LINKED to be a fatal error. Patch 11/12. There is no patch 12/12. Foo.
2007-12-17gst/switch/: gst/switch/gstswitch.c (gst_stream_selector_class_init) ↵Andy Wingo3-5/+26
(gst_stream_selector_block): Make the block() si... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch-marshal.list: * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_block): Make the block() signal return the last stop time of the active pad. Patch 10/12.
2007-12-17gst/switch/gstswitch.c (gst_selector_pad_get_property) ↵Andy Wingo1-24/+46
(gst_selector_pad_class_init, gst_stream_selector_class_init) Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_selector_pad_get_property) (gst_selector_pad_class_init, gst_stream_selector_class_init) (gst_stream_selector_get_property): Expose 'last-stop-time' as a pad property, not an element property. (gst_selector_pad_chain): Mark the last_stop time as timestamp + duration, not timestamp. Patch 9/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_change_state)Andy Wingo1-47/+27
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_change_state) (gst_stream_selector_block, gst_stream_selector_switch): Use the cond mechanism instead of blocked pads. Patch 8/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelector): gst/switch/gstswitch.c ↵Andy Wingo2-1/+31
(gst_stream_selector_wait) (gst_selector_p... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelector): * gst/switch/gstswitch.c (gst_stream_selector_wait) (gst_selector_pad_chain, gst_stream_selector_init) (gst_stream_selector_dispose): Add infrastructure for new blocking mechanism that does not use gst_pad_set_blocked, which does not work on sink pads. Patch 7/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_class_init)Andy Wingo1-1/+18
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_get_property): Add last-stop-time readable property. Patch 6/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelector): Add some state variables.Andy Wingo2-29/+92
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelector): Add some state variables. * gst/switch/gstswitch.c (gst_stream_selector_push_pending_stop) (gst_selector_pad_chain): Push any pending stop event. (gst_stream_selector_set_active_pad) (gst_stream_selector_set_property): Factor out setting the active pad to a function. Close the segment of the previous active pad if told to do so via a stop_time != GST_CLOCK_TIME_NONE. (gst_stream_selector_switch): Implement switch vmethod. Patch 5/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_block): Implement the block() ↵Andy Wingo1-1/+49
signal. This implementation will be replace... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_block): Implement the block() signal. This implementation will be replaced in future patches, however. Patch 4/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes.Andy Wingo2-3/+23
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes. * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_block, gst_stream_selector_switch): Add empty vmethod definitions. Patch 3/12.
2007-12-17gst/switch/gstswitch.*: Add `block' and `switch' signals.Andy Wingo4-1/+57
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (gst_stream_selector_class_init): Add `block' and `switch' signals. * gst/switch/Makefile.am: * gst/switch/gstswitch-marshal.list: Add foo to generate a marshaller for the `switch' signal. Patch 2/12.
2007-12-17gst/switch/gstswitch.*: Replace with files from gststreamselector.[ch], ↵Andy Wingo2-720/+527
registered as the "switch" plugin, with "GstS... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h: * gst/switch/gstswitch.c: Replace with files from gststreamselector.[ch], registered as the "switch" plugin, with "GstSwitch" types. Patch 1/12.
2007-12-15gst/videoparse/gstvideoparse.c: Free the adapter on dispose and correctly ↵Sebastian Dröge1-1/+10
reset on newsegment events. Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_dispose), (gst_video_parse_sink_event): Free the adapter on dispose and correctly reset on newsegment events.
2007-12-15gst/videoparse/gstvideoparse.c: Improve duration query by first asking ↵Sebastian Dröge1-26/+70
upstream and if it can't handle the query try ... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_sink_event), (gst_video_parse_src_event), (gst_video_parse_src_query): Improve duration query by first asking upstream and if it can't handle the query try to get the duration in bytes from upstream and convert. For seeks, try if upstream handles this already first and do our conversion to byte format only if it doesn't and if we get a newsegment event in time format keep it and only do our conversions if the event has another format.
2007-12-15gst/videoparse/gstvideoparse.c: Add support for video/x-raw-rgb and ↵Sebastian Dröge1-13/+181
video/x-raw-gray. Also send downstream elements d... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_format_get_type), (gst_video_parse_endianness_get_type), (gst_video_parse_class_init), (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property), (gst_video_parse_format_to_fourcc), (gst_video_parse_update_block_size), (gst_video_parse_chain), (gst_video_parse_sink_event): Add support for video/x-raw-rgb and video/x-raw-gray. Also send downstream elements downstream, not upstream.
2007-12-14gst/mpegtsparse/mpegtspacketizer.*: Hash streams by pid again. Add a linked ↵Zaheer Abbas Merali2-48/+110
list inside each stream with a list of su... Original commit message from CVS: * gst/mpegtsparse/mpegtspacketizer.c: * gst/mpegtsparse/mpegtspacketizer.h: Hash streams by pid again. Add a linked list inside each stream with a list of sub_tables. Fix multiple sections as it was borked with my last commit.