summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-12-11sys/xvimage/xvimagesink.c: Fixed a leak of the current image reference when ↵Julien Moutte
cleaning up. Original commit message from CVS: 2005-12-11 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): Fixed a leak of the current image reference when cleaning up. Thanks to Arwed von Merkatz (alley_cat) for pointing it out.
2005-12-06expand tabsThomas Vander Stichele
Original commit message from CVS: expand tabs
2005-11-28sys/: Fixed a tricky bug. When caps renegotiation happens (only visible on ↵Julien Moutte
ximagesink but bug is in xv too) set_caps ... Original commit message from CVS: 2005-11-28 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put), (gst_ximagesink_setcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put), (gst_xvimagesink_setcaps): Fixed a tricky bug. When caps renegotiation happens (only visible on ximagesink but bug is in xv too) set_caps was destroying the internal x[v]image used to memcpy non locally alloced buffers so that it got renewed on next _chain. The issue is that _expose will try to put that image as it reffed it in _put. Using gst_buffer_unref instead of destroy fixes it !
2005-11-28gst-libs/gst/video/Makefile.am: compile in copied-over videofilter into the ↵Thomas Vander Stichele
video library Original commit message from CVS: * gst-libs/gst/video/Makefile.am: compile in copied-over videofilter into the video library * gst-libs/gst/video/videosink.h: rename the header to gstvideosink.h since it's a base GstObject class * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.h: use the new header
2005-11-28sys/xvimage/xvimagesink.c: Fix navigation events coordinates translation ↵Julien Moutte
with pixel aspect ratios. Original commit message from CVS: 2005-11-28 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_navigation_send_event): Fix navigation events coordinates translation with pixel aspect ratios.
2005-11-28sys/xvimage/xvimagesink.c: Use calculated video geometry from _setcaps ↵Julien Moutte
instead of buffer caps to respect pixel aspect... Original commit message from CVS: 2005-11-28 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put): Use calculated video geometry from _setcaps instead of buffer caps to respect pixel aspect ratio. (fixes #322388)
2005-11-28sys/xvimage/xvimagesink.c: Refuse to create an XvImage if we can't find the ↵Julien Moutte
format. Original commit message from CVS: 2005-11-28 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Refuse to create an XvImage if we can't find the format.
2005-11-27sys/ximage/ximagesink.c: Fixed a tricky race.Julien Moutte
Original commit message from CVS: 2005-11-27 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximage_buffer_free), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_put), (gst_ximagesink_bufferpool_clear), (gst_ximagesink_buffer_alloc), (gst_ximagesink_expose): Fixed a tricky race. * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put), (gst_xvimagesink_expose): Fixed a tricky race. * sys/xvimage/xvimagesink.h:
2005-11-27More and more documentation.Julien Moutte
Original commit message from CVS: 2005-11-27 Julien MOUTTE <julien@moutte.net> * docs/libs/tmpl/gstcolorbalance.sgml: * docs/libs/tmpl/gstmixer.sgml: * docs/libs/tmpl/gstxoverlay.sgml: * sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc): * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.h: More and more documentation.
2005-11-26Added doc for xvimagesink.Julien Moutte
Original commit message from CVS: 2005-11-26 Julien MOUTTE <julien@moutte.net> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-base-plugins-docs.sgml: * docs/plugins/gst-plugins-base-plugins-sections.txt: * sys/xvimage/xvimagesink.c: Added doc for xvimagesink.
2005-11-26docs/plugins/: Updated version.Julien Moutte
Original commit message from CVS: 2005-11-26 Julien MOUTTE <julien@moutte.net> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-base-plugins-docs.sgml: * docs/plugins/gst-plugins-base-plugins-sections.txt: * docs/plugins/inspect/plugin-adder.xml: * docs/plugins/inspect/plugin-alsa.xml: * docs/plugins/inspect/plugin-audioconvert.xml: * docs/plugins/inspect/plugin-audiorate.xml: * docs/plugins/inspect/plugin-audioresample.xml: * docs/plugins/inspect/plugin-audiotestsrc.xml: * docs/plugins/inspect/plugin-decodebin.xml: * docs/plugins/inspect/plugin-ffmpegcolorspace.xml: * docs/plugins/inspect/plugin-gnomevfs.xml: * docs/plugins/inspect/plugin-ogg.xml: * docs/plugins/inspect/plugin-playbin.xml: * docs/plugins/inspect/plugin-subparse.xml: * docs/plugins/inspect/plugin-tcp.xml: * docs/plugins/inspect/plugin-theora.xml: * docs/plugins/inspect/plugin-typefindfunctions.xml: * docs/plugins/inspect/plugin-video4linux.xml: * docs/plugins/inspect/plugin-videorate.xml: * docs/plugins/inspect/plugin-videoscale.xml: * docs/plugins/inspect/plugin-videotestsrc.xml: * docs/plugins/inspect/plugin-volume.xml: * docs/plugins/inspect/plugin-vorbis.xml: * docs/plugins/inspect/plugin-ximagesink.xml: * docs/plugins/inspect/plugin-xvimagesink.xml: Updated version. * sys/ximage/ximagesink.c: Adding documentation for ximagesink.
2005-11-23Updates for API changesJan Schmidt
Original commit message from CVS: * ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer), (gst_visual_chain): * ext/theora/theoraenc.c: (theora_enc_sink_setcaps): * gst/videorate/gstvideorate.c: (gst_videorate_setcaps), (gst_videorate_chain): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_src_fixate), (gst_videotestsrc_create): * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_fps), (gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query), (gst_v4lmjpegsrc_get), (gst_v4lmjpegsrc_getcaps): * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps), (gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new): Updates for API changes
2005-11-23po/: Translation string updatesJan Schmidt
Original commit message from CVS: * po/af.po: * po/az.po: * po/cs.po: * po/en_GB.po: * po/hu.po: * po/it.po: * po/nb.po: * po/nl.po: * po/or.po: * po/sq.po: * po/sr.po: * po/sv.po: * po/uk.po: * po/vi.po: Translation string updates * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate), (gst_v4lsrc_get_caps), (gst_v4lsrc_set_caps): * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps), (gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new): * sys/v4l/v4lsrc_calls.h: Improve v4lsrc, by making it work again.
2005-11-22ext/libvisual/visual.c: Fix the fps calculations.Jan Schmidt
Original commit message from CVS: * ext/libvisual/visual.c: (gst_visual_chain): Fix the fps calculations. * gst/ffmpegcolorspace/avcodec.h: Move structure element for clarity * gst-libs/gst/interfaces/tunernorm.c: (gst_tuner_norm_init): * gst-libs/gst/interfaces/tunernorm.h: * sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_src_link): * sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init): * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init), (gst_v4lmjpegsrc_get_fps), (gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query), (gst_v4lmjpegsrc_get), (gst_v4lmjpegsrc_getcaps): * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate), (gst_v4lsrc_get_caps), (gst_v4lsrc_set_caps): * sys/v4l/gstv4lsrc.h: * sys/v4l/v4l_calls.c: (gst_v4l_open): * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps), (gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new): * sys/v4l/v4lsrc_calls.h: Fractional framerates...
2005-11-22Convert elements to use fractions for their framerate.Jan Schmidt
Original commit message from CVS: * ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer), (gst_visual_chain): * ext/ogg/gstogmparse.c: (gst_ogm_parse_chain): * ext/theora/theoradec.c: (theora_handle_type_packet): * ext/theora/theoraenc.c: (theora_enc_sink_setcaps), (theora_enc_chain): * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): * gst-libs/gst/video/video.c: (gst_video_frame_rate): * gst-libs/gst/video/video.h: * gst/ffmpegcolorspace/avcodec.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_set_caps): * gst/videorate/gstvideorate.c: (gst_videorate_transformcaps), (gst_videorate_setcaps), (gst_videorate_blank_data), (gst_videorate_chain): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_src_fixate), (gst_videotestsrc_getcaps), (gst_videotestsrc_parse_caps), (gst_videotestsrc_setcaps), (gst_videotestsrc_event), (gst_videotestsrc_create): * gst/videotestsrc/gstvideotestsrc.h: * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get), (gst_ximagesink_setcaps), (gst_ximagesink_change_state), (gst_ximagesink_get_times), (gst_ximagesink_init): * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support), (gst_xvimagesink_setcaps), (gst_xvimagesink_change_state), (gst_xvimagesink_get_times), (gst_xvimagesink_init): * sys/xvimage/xvimagesink.h: Convert elements to use fractions for their framerate. V4L elements to come later tonight.
2005-11-22sys/: Call gst_x_overlay_prepare_xwindow_id() to give applications a final ↵Tim-Philipp Müller
chance to set their own xwindow id before ... Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_setcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Call gst_x_overlay_prepare_xwindow_id() to give applications a final chance to set their own xwindow id before the video sink creates its own window.
2005-11-22sys/xvimage/xvimagesink.c: Handle navigation events correcly with borders if ↵Julien Moutte
applicable. Original commit message from CVS: 2005-11-22 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_navigation_send_event): Handle navigation events correcly with borders if applicable.
2005-11-22sys/ximage/ximagesink.c: Add debug macros on functions.Julien Moutte
Original commit message from CVS: 2005-11-22 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_event_thread), (gst_ximagesink_class_init): Add debug macros on functions. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xwindow_draw_borders), (gst_xvimagesink_xvimage_put), (gst_xvimagesink_xwindow_update_geometry), (gst_xvimagesink_handle_xevents), (gst_xvimagesink_get_xv_support), (gst_xvimagesink_event_thread), (gst_xvimagesink_xcontext_get), (gst_xvimagesink_xcontext_clear), (gst_xvimagesink_get_format_from_caps), (gst_xvimagesink_setcaps), (gst_xvimagesink_change_state), (gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_expose), (gst_xvimagesink_set_property), (gst_xvimagesink_get_property), (gst_xvimagesink_finalize), (gst_xvimagesink_init), (gst_xvimagesink_class_init): * sys/xvimage/xvimagesink.h: Refactoring to handle aspect ratio, expose while being PAUSED, out of data flow navigation events, etc..
2005-11-21gst-libs/gst/interfaces/xoverlay.*: Remove everything having to do with the ↵Tim-Philipp Müller
desired size; add gst_x_overlay_prepare_x... Original commit message from CVS: * gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_base_init), (gst_x_overlay_got_xwindow_id), (gst_x_overlay_prepare_xwindow_id): * gst-libs/gst/interfaces/xoverlay.h: Remove everything having to do with the desired size; add gst_x_overlay_prepare_xwindow_id() function; remove the 'have-xwindow-id' signal and make gst_x_overlay_got_xwindow_id() post a message on the bus instead (#321816). * sys/ximage/ximagesink.c: (gst_ximagesink_xoverlay_init): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps), (gst_xvimagesink_xoverlay_init): Remove desired size stuff (#321816).
2005-11-21sys/ximage/: Rename ximage plugin to ximagesink (#321426) (Don't forget to ↵Tim-Philipp Müller
remove your old libgstximage.* manually if... Original commit message from CVS: * sys/ximage/Makefile.am: * sys/ximage/ximage.c: Rename ximage plugin to ximagesink (#321426) (Don't forget to remove your old libgstximage.* manually if necessary).
2005-11-21Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)Jan Schmidt
Original commit message from CVS: * ext/libvisual/visual.c: (get_buffer): * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_fixate): * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate_caps): * gst/audioscale/gstaudioscale.c: (gst_audioscale_fixate): * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_fixate): * gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate): * gst/videorate/gstvideorate.c: (gst_videorate_setcaps): * gst/videoscale/gstvideoscale.c: (gst_videoscale_fixate_caps): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_src_fixate): * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate): Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)
2005-11-21Fixes for GST_FOURCC_FORMAT API change.Tim-Philipp Müller
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_iavs_caps): * gst-libs/gst/riff/riff-read.c: (gst_riff_parse_file_header), (gst_riff_parse_strh), (gst_riff_parse_strf_vids), (gst_riff_parse_info): * gst/videotestsrc/videotestsrc.c: (paintinfo_find_by_structure): * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_caps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Fixes for GST_FOURCC_FORMAT API change.
2005-11-20gst-libs/gst/tag/: Remove obsolete vorbistag element and debug category.Jan Schmidt
Original commit message from CVS: * gst-libs/gst/tag/Makefile.am: * gst-libs/gst/tag/gstvorbistag.c: (gst_tag_list_to_vorbiscomment_buffer): Remove obsolete vorbistag element and debug category. * gst/playback/gstplaybasebin.c: (check_queue): Don't divide by 0 when queue-threshold is 0. * sys/ximage/ximagesink.c: (gst_ximagesink_set_property): Don't modify an existing pixel-aspect-ratio if we fail to read a new one.
2005-11-18sys/ximage/ximagesink.*: Refactoring of ximagesink.Julien Moutte
Original commit message from CVS: 2005-11-18 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize), (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy), (gst_ximagesink_xwindow_draw_borders), (gst_ximagesink_ximage_put), (gst_ximagesink_xwindow_new), (gst_ximagesink_xwindow_update_geometry), (gst_ximagesink_handle_xevents), (gst_ximagesink_event_thread), (gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear), (gst_ximagesink_bufferpool_clear), (gst_ximagesink_getcaps), (gst_ximagesink_setcaps), (gst_ximagesink_change_state), (gst_ximagesink_show_frame), (gst_ximagesink_buffer_alloc), (gst_ximagesink_navigation_send_event), (gst_ximagesink_set_xwindow_id), (gst_ximagesink_expose), (gst_ximagesink_set_property), (gst_ximagesink_get_property), (gst_ximagesink_finalize), (gst_ximagesink_init), (gst_ximagesink_class_init): * sys/ximage/ximagesink.h: Refactoring of ximagesink. This new version brings correct software scaling, non flickering window while resizing, pixel aspect ratio handling, usage of hardware buffer pools, out of data flow event thread for navigation and handling of expose events even when being PAUSED, a new property to keep video aspect ratio when resizing, etc...
2005-11-15sys/xvimage/xvimagesink.c: Make state change function thread safe.Tim-Philipp Müller
Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state): Make state change function thread safe.
2005-11-14sys/xvimage/xvimagesink.c: Discovered how to take away flickering while ↵Julien Moutte
resizing the window. Please don't put that in... Original commit message from CVS: 2005-11-14 Julien MOUTTE <julien@moutte.net> * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new): Discovered how to take away flickering while resizing the window. Please don't put that in ximagesink, refactoring in progress.
2005-11-11sys/xvimage/xvimagesink.c: Check whether peer pad exists before sending ↵Tim-Philipp Müller
navigation events to it. Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_navigation_send_event): Check whether peer pad exists before sending navigation events to it.
2005-11-10sys/v4l/gstv4lsrc.c: Check if the caps have a fourcc field. Fixes crash for ↵Thomas Vander Stichele
gst-launch-0.9 v4lsrc name=source autopr... Original commit message from CVS: * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate): Check if the caps have a fourcc field. Fixes crash for gst-launch-0.9 v4lsrc name=source autoprobe=false autoprobe-fps=false copy-mode=1 device=/dev/video0 ! ffmpegcolorspace ! "video/x-raw-yuv, format=(fourcc)I420" ! xvimagesink
2005-10-24sys/: Check the caps against our xcontext caps.Julien Moutte
Original commit message from CVS: 2005-10-24 Julien MOUTTE <julien@moutte.net> * sys/ximage/ximagesink.c: (gst_ximagesink_setcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Check the caps against our xcontext caps.
2005-10-24And here comes my change on caps for framerate and geometry range.Julien Moutte
Original commit message from CVS: 2005-10-24 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/video/video.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): And here comes my change on caps for framerate and geometry range. We are now accepting 1 to MAXINT for width and height, and from 0.0 to MAXDOUBLE for framerate. That allows duration less png frames to be blended correctly in videomixer.
2005-10-16restructure configure.ac, use correct libtool LDFLAGS, fix up definesThomas Vander Stichele
Original commit message from CVS: restructure configure.ac, use correct libtool LDFLAGS, fix up defines
2005-10-12renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to ↵Stefan Kost
enum definition Original commit message from CVS: * examples/indexing/indexmpeg.c: (main): * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get), (cdparanoia_open), (cdparanoia_close), (cdparanoia_event), (cdparanoia_convert), (cdparanoia_query): * ext/cdparanoia/gstcdparanoia.h: * ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init), (gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file), (gst_gnomevfssink_chain), (gst_gnomevfssink_change_state): * ext/ogg/gstoggmux.c: (gst_ogg_mux_init): * gst/audioscale/gstaudioscale.c: (gst_audioscale_init): * gst/playback/gststreamselector.c: (gst_stream_selector_init): * gst/tcp/gstmultifdsink.c: (gst_multifdsink_init), (gst_multifdsink_render), (gst_multifdsink_start), (gst_multifdsink_stop): * gst/tcp/gstmultifdsink.h: * gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init), (gst_tcpclientsink_render), (gst_tcpclientsink_start), (gst_tcpclientsink_stop): * gst/tcp/gsttcpclientsink.h: * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps), (gst_tcpclientsrc_create), (gst_tcpclientsrc_start), (gst_tcpclientsrc_stop): * gst/tcp/gsttcpclientsrc.h: * gst/tcp/gsttcpserversink.h: * gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init), (gst_tcpserversrc_create), (gst_tcpserversrc_start), (gst_tcpserversrc_stop): * gst/tcp/gsttcpserversrc.h: * sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_init): * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init): * sys/ximage/ximagesink.c: (gst_ximagesink_init): renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
2005-09-09check/: Add extra tests for basetransform based components.Jan Schmidt
Original commit message from CVS: * check/Makefile.am: * check/pipelines/simple_launch_lines.c: (setup_pipeline), (run_pipeline), (GST_START_TEST), (simple_launch_lines_suite): Add extra tests for basetransform based components. Comment out the test_element_negotiation test until we decide if it's testing correct behaviour. * ext/libvisual/visual.c: (gst_visual_init), (get_buffer), (gst_visual_chain), (gst_visual_change_state): Slightly more correct but still bogus timestamping. Fix state change function. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_class_init): * gst/audioresample/gstaudioresample.c: * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_class_init): * gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init), (gst_videoscale_prepare_size), (gst_videoscale_set_caps), (gst_videoscale_prepare_image): * gst/volume/gstvolume.c: (gst_volume_class_init), (volume_transform_ip): Basetransform updates. Enable passthrough modes. * sys/ximage/ximagesink.c: (gst_ximage_buffer_init), (gst_ximagesink_renegotiate_size), (gst_ximagesink_xcontext_get), (gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc): Negotiation fix that allows the window to return to the original size and renegotiate passthrough upstream. Extra debug output.
2005-09-08sys/: Fix compilation when XShm is not available.Jan Schmidt
Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximage_buffer_init), (gst_ximagesink_check_xshm_calls), (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init), (gst_xvimagesink_check_xshm_calls): Fix compilation when XShm is not available.
2005-09-06configure.ac: In the output at the end, don't show the first plugin on the ↵Jan Schmidt
same line as "Core plug-ins, always built:". Original commit message from CVS: * configure.ac: In the output at the end, don't show the first plugin on the same line as "Core plug-ins, always built:". Indent the output as for other plugin categories * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create): #define that can be used to not use peer buffer_alloc functions for test purposes. * sys/ximage/ximagesink.c: (gst_ximage_buffer_init), (gst_ximage_buffer_get_type), (gst_ximagesink_ximage_new), (gst_ximagesink_show_frame): * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init), (gst_xvimage_buffer_get_type), (gst_xvimagesink_setcaps), (gst_xvimagesink_show_frame): Error case handling fixes. gst-launch fakesrc ! x[v]imagesink now fails gracefully instead of XError aborting or deadlocking.
2005-09-02All plugins updated for element state changes.Andy Wingo
Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
2005-08-31sys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an ↵Tim-Philipp Müller
int64, so let's use g_value_{set|get}_int64(... Original commit message from CVS: * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_property), (gst_v4lsrc_get_property): The 'timestamp-offset' property is registered as an int64, so let's use g_value_{set|get}_int64() in our setter and getter functions (makes it work and fixes warnings with gst-inspect).
2005-08-28Updates for two-arg init from GST_BOILERPLATE_FULL.Andy Wingo
Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE_FULL.
2005-08-24ext/ogg/gstoggdemux.c: Parse seeking events better.Wim Taymans
Original commit message from CVS: * ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query), (gst_ogg_pad_event), (gst_ogg_demux_factory_filter), (gst_ogg_pad_submit_packet), (gst_ogg_chain_new), (gst_ogg_demux_init), (gst_ogg_demux_perform_seek), (gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info), (gst_ogg_demux_chain), (gst_ogg_demux_loop), (gst_ogg_print): Parse seeking events better. Unref static caps. Generate correct newsegment events, fixes seeking in live oggs. * ext/theora/theoradec.c: (theora_dec_src_query), (theora_dec_src_event), (theora_dec_src_getcaps), (theora_dec_sink_event), (theora_dec_push), (theora_dec_chain): Use newsegment values to report correct play time. * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query), (vorbis_dec_src_event), (vorbis_dec_sink_event): * ext/vorbis/vorbisdec.h: Parse and use newsegment values to report correct play time. * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_event), (gst_base_audio_sink_render): Clear ringbuffer on flush. Use newsegment values to calculate playback time. * sys/ximage/ximagesink.c: (gst_ximagesink_get_times): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times): Basesink does newsegment calculations for us now.
2005-08-24whoopsAndy Wingo
Original commit message from CVS: whoops
2005-08-24sys/v4l/gstv4lelement.c (gst_v4lelement_start)Andy Wingo
Original commit message from CVS: 2005-08-24 Andy Wingo <wingo@pobox.com> * sys/v4l/gstv4lelement.c (gst_v4lelement_start) (gst_v4lelement_stop): Call _start and _stop for xoverlay instead of _open and _close. * sys/v4l/gstv4lxoverlay.h: * sys/v4l/gstv4lxoverlay.c (gst_v4l_xoverlay_set_xwindow_id): Open an Xv connection here, instead of all the time. Make Xv only be loaded if you axe for it. Kindof a workaround for buggy behaviour of Xv when using remote xservers (XvQueryExtension would block). (gst_v4l_xoverlay_stop, gst_v4l_xoverlay_start): New functions, replace the _open and _close public API. Only start the xv connection if necessary. (gst_v4l_xoverlay_open, gst_v4l_xoverlay_close): Made static.
2005-08-04sys/ximage/ximagesink.c: Do not set new window sizes yet if we prepare a new ↵Ronald S. Bultje
buffer size for upstream renegotiation (... Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put), (gst_ximagesink_renegotiate_size): Do not set new window sizes yet if we prepare a new buffer size for upstream renegotiation (software scaling) at some point in the future, because this new size waqs not actually accepted yet. Once accepted, renegotiation later on will set the new sizes just fine. Fixes a videotestsrc ! queue ! videoscale ! ximagesink xoverlay embedding testcase.
2005-08-03sys/ximage/ximagesink.c (gst_ximagesink_renegotiate_size): Protect the ↵Andy Wingo
height, width, and desired_caps with the pool_... Original commit message from CVS: 2005-08-03 Andy Wingo <wingo@pobox.com> * sys/ximage/ximagesink.c (gst_ximagesink_renegotiate_size): (gst_ximagesink_buffer_alloc): Protect the height, width, and desired_caps with the pool_lock. Fixes videotestsrc ! queue ! ximagesink.
2005-07-27examples/seeking/seek.c: Update seek example.Wim Taymans
Original commit message from CVS: * examples/seeking/seek.c: (setup_dynamic_link), (make_dv_pipeline), (make_vorbis_theora_pipeline), (query_rates), (query_positions_elems), (query_positions_pads), (do_seek): Update seek example. * ext/ogg/gstoggdemux.c: (gst_ogg_pad_event), (gst_ogg_pad_typefind), (gst_ogg_demux_chain_elem_pad), (gst_ogg_demux_queue_data), (gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet), (gst_ogg_pad_submit_page), (gst_ogg_demux_handle_event), (gst_ogg_demux_deactivate_current_chain), (gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek), (gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info), (gst_ogg_demux_chain), (gst_ogg_demux_send_event), (gst_ogg_demux_loop): * ext/ogg/gstoggmux.c: (gst_ogg_mux_collected): * ext/theora/theoradec.c: (theora_dec_src_event), (theora_dec_src_getcaps), (theora_dec_sink_event), (theora_dec_push), (theora_dec_chain): * ext/vorbis/Makefile.am: * ext/vorbis/vorbisdec.c: (vorbis_dec_src_event), (vorbis_dec_sink_event), (vorbis_dec_push), (vorbis_handle_data_packet): * ext/vorbis/vorbisenc.c: (gst_vorbisenc_sink_event), (gst_vorbisenc_chain): * gst/playback/gststreaminfo.c: (cb_probe): * gst/subparse/gstsubparse.c: (gst_subparse_src_event): * gst/videorate/gstvideorate.c: (gst_videorate_event): * gst/videoscale/gstvideoscale.c: (gst_videoscale_handle_src_event): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_event): * sys/ximage/ximagesink.c: (gst_ximagesink_show_frame), (gst_ximagesink_navigation_send_event): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_navigation_send_event): Various event updates and cleanups
2005-07-21sys/ximage/: Prepare for adding ximagesrc, rename of plugin to ximage etc.Zaheer Abbas Merali
Original commit message from CVS: 2005-07-21 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/ximage/Makefile.am: * sys/ximage/ximage.c: (plugin_init): * sys/ximage/ximagesink.c: Prepare for adding ximagesrc, rename of plugin to ximage etc.
2005-07-16Updated seek example.Wim Taymans
Original commit message from CVS: * docs/libs/tmpl/gstringbuffer.sgml: * examples/seeking/seek.c: (make_vorbis_theora_pipeline), (query_rates), (query_positions_elems), (query_positions_pads), (update_scale), (do_seek): Updated seek example. * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet), (gst_ogg_pad_submit_page), (gst_ogg_demux_activate_chain), (gst_ogg_demux_find_chains), (gst_ogg_demux_send_event), (gst_ogg_demux_loop): Push out correct discont values. * ext/theora/theoradec.c: (theora_dec_src_convert), (theora_dec_sink_convert), (theora_dec_src_getcaps), (theora_dec_sink_event), (theora_handle_type_packet), (theora_handle_header_packet), (theora_dec_push), (theora_handle_data_packet), (theora_dec_chain), (theora_dec_change_state): Better timestamping. * ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init), (vorbis_dec_sink_event), (vorbis_dec_push), (vorbis_handle_data_packet), (vorbis_dec_chain): * ext/vorbis/vorbisdec.h: Better timestamping. * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_get_time), (gst_base_audio_sink_get_times), (gst_base_audio_sink_event), (gst_base_audio_sink_render): Handle syncing on timestamps instead of sample offsets. Make use of DISCONT values as described in design docs. * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_get_time): * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_acquire), (gst_ring_buffer_set_sample), (gst_ring_buffer_commit), (gst_ring_buffer_read): * gst-libs/gst/audio/gstringbuffer.h: * sys/ximage/ximagesink.c: (gst_ximagesink_get_times), (gst_ximagesink_show_frame): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times): Correcly convert buffer timestamp to stream time.
2005-07-14gst/tcp/: 0.8 backporting.Wim Taymans
Original commit message from CVS: * gst/tcp/gstfdset.c: (gst_fdset_free): * gst/tcp/gstmultifdsink.c: (gst_multifdsink_init), (gst_multifdsink_add), (gst_multifdsink_remove), (gst_multifdsink_clear), (gst_multifdsink_get_stats), (gst_multifdsink_remove_client_link), (gst_multifdsink_client_queue_data), (gst_multifdsink_client_queue_caps), (gst_multifdsink_client_queue_buffer), (gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients), (gst_multifdsink_stop): * gst/tcp/gstmultifdsink.h: 0.8 backporting. * sys/ximage/ximagesink.c: (gst_ximagesink_show_frame): Also draw image when not from a pool.
2005-07-14more autistic cleanliness in functions/names/definesThomas Vander Stichele
Original commit message from CVS: more autistic cleanliness in functions/names/defines
2005-07-13make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to ↵Thomas Vander Stichele
each Makefile.am so we are sure it goes Original commit message from CVS: make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes *last* and doesn't add -L flags before linking in libs of our own, like, say, internal .la libs, that then accidentally pick up the installed copy.
2005-07-13sys/v4l/gstv4lsrc.c (gst_v4lsrc_stop): Fix a spurious warning.Andy Wingo
Original commit message from CVS: 2005-07-13 Andy Wingo <wingo@pobox.com> * sys/v4l/gstv4lsrc.c (gst_v4lsrc_stop): Fix a spurious warning. (gst_v4lsrc_fixate): Fixate on format as well.