summaryrefslogtreecommitdiffstats
path: root/ext/sdl/sdlvideosink.c
AgeCommit message (Collapse)AuthorFilesLines
2006-01-27ext/sdl/sdlvideosink.*: Fix output stride copying, so that it displays ↵Jan Schmidt1-84/+171
correctly on framebuffer devices that don't ma... Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported), (gst_sdlvideosink_xoverlay_set_xwindow_id), (gst_sdlvideosink_deinitsdl), (gst_sdlv_process_events), (gst_sdlvideosink_event_thread), (gst_sdlvideosink_initsdl), (gst_sdlvideosink_destroy), (gst_sdlvideosink_create), (gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame), (gst_sdlvideosink_change_state), (gst_sdlvideosink_navigation_send_event): * ext/sdl/sdlvideosink.h: Fix output stride copying, so that it displays correctly on framebuffer devices that don't match our implict GStreamer stride arrangement. Fix locking things. Offer XOverlay only when SDL is running against X. Make non-scaled (and ugly) embedding work via X Overlay. It can't actually match the embedded window size because there's no way to figure out what size that should be from the XOverlay interface. See comment in sdlvideosink.c
2006-01-11Now implementing navigation interface and using GST_BOILER_PLATE_FULL.Edgard Lima1-50/+127
Original commit message from CVS: Now implementing navigation interface and using GST_BOILER_PLATE_FULL.
2006-01-09Created new element, sdlaudiosink.Edgard Lima1-20/+2
Original commit message from CVS: Created new element, sdlaudiosink.
2005-11-23ext/sdl/sdlvideosink.*: Updates for fractional framerates and XOverlay ↵Jan Schmidt1-10/+11
interface changes Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init), (gst_sdlvideosink_get_times), (gst_sdlvideosink_init), (gst_sdlvideosink_setcaps), (gst_sdlvideosink_change_state): * ext/sdl/sdlvideosink.h: Updates for fractional framerates and XOverlay interface changes
2005-11-21Update for GST_FOURCC_FORMAT API change.Tim-Philipp Müller1-3/+3
Original commit message from CVS: * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_get_format_from_caps): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_type_get), (qtdemux_node_dump_foreach), (qtdemux_dump_hdlr), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_dcom), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_capture_init), (gst_v4l2src_get_size_limits): Update for GST_FOURCC_FORMAT API change.
2005-11-03Add support to exit when 'Esc' key is pressed.Edgard Lima1-2/+78
Original commit message from CVS: Add support to exit when 'Esc' key is pressed.
2005-10-31Changed property full-screen to fullscreen, using SDL_SWSURFACE instead of ↵Edgard Lima1-3/+3
SDL_HWSURFACE when in full screen mode. Original commit message from CVS: Changed property full-screen to fullscreen, using SDL_SWSURFACE instead of SDL_HWSURFACE when in full screen mode.
2005-10-31Added a property that allows full-screen.Edgard Lima1-2/+28
Original commit message from CVS: Added a property that allows full-screen.
2005-10-28ext/sdl/sdlvideosink.*: Fix I420 output on some machines (not very nice, but ↵Tim-Philipp Müller1-18/+56
should work). Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init), (gst_sdlvideosink_class_init), (gst_sdlvideosink_get_sdl_from_fourcc), (gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame): * ext/sdl/sdlvideosink.h: Fix I420 output on some machines (not very nice, but should work). Add an 'sdlvideosink' debug category. Disable formats that do not work. Fix some vararg function issues.
2005-10-27ext/sdl/sdlvideosink.c: Fix SDL videosink and did some cleanups.Wim Taymans1-101/+90
Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize), (gst_sdlvideosink_get_times), (gst_sdlvideosink_class_init), (gst_sdlvideosink_init), (gst_sdlvideosink_lock), (gst_sdlvideosink_initsdl), (gst_sdlvideosink_create), (gst_sdlvideosink_show_frame), (gst_sdlvideosink_set_property), (gst_sdlvideosink_get_property), (gst_sdlvideosink_change_state): Fix SDL videosink and did some cleanups.
2005-10-27Trying to fix videos out of sync (not fixed yet)Edgard Lima1-2/+37
Original commit message from CVS: Trying to fix videos out of sync (not fixed yet)
2005-10-12renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to ↵Stefan Kost1-2/+2
enum definition Original commit message from CVS: * examples/indexing/indexmpeg.c: (main): * ext/artsd/gstartsdsink.c: (gst_artsdsink_open_audio), (gst_artsdsink_close_audio), (gst_artsdsink_change_state): * ext/artsd/gstartsdsink.h: * ext/audiofile/gstafparse.c: (gst_afparse_open_file), (gst_afparse_close_file): * ext/audiofile/gstafparse.h: * ext/audiofile/gstafsink.c: (gst_afsink_open_file), (gst_afsink_close_file), (gst_afsink_chain), (gst_afsink_change_state): * ext/audiofile/gstafsink.h: * ext/audiofile/gstafsrc.c: (gst_afsrc_open_file), (gst_afsrc_close_file), (gst_afsrc_change_state): * ext/audiofile/gstafsrc.h: * ext/cdaudio/gstcdaudio.c: (gst_cdaudio_init): * ext/directfb/directfbvideosink.c: (gst_directfbvideosink_init): * ext/dts/gstdtsdec.c: (gst_dtsdec_init): * ext/jack/gstjack.h: * ext/jack/gstjackbin.c: (gst_jack_bin_init), (gst_jack_bin_change_state): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_init): * ext/nas/nassink.c: (gst_nassink_open_audio), (gst_nassink_close_audio), (gst_nassink_change_state): * ext/nas/nassink.h: * ext/polyp/polypsink.c: (gst_polypsink_init): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_change_state): * ext/sdl/sdlvideosink.h: * ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_init): * ext/sndfile/gstsf.c: (gst_sf_set_property), (gst_sf_change_state), (gst_sf_release_request_pad), (gst_sf_open_file), (gst_sf_close_file), (gst_sf_loop): * ext/sndfile/gstsf.h: * ext/swfdec/gstswfdec.c: (gst_swfdec_init): * ext/tarkin/gsttarkindec.c: (gst_tarkindec_init): * gst/apetag/apedemux.c: (gst_ape_demux_init): * gst/cdxaparse/gstcdxaparse.c: (gst_cdxaparse_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init): * gst/festival/gstfestival.c: (gst_festival_change_state): * gst/festival/gstfestival.h: * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init): * gst/multifilesink/gstmultifilesink.c: (gst_multifilesink_init), (gst_multifilesink_set_location), (gst_multifilesink_open_file), (gst_multifilesink_close_file), (gst_multifilesink_next_file), (gst_multifilesink_pad_query), (gst_multifilesink_handle_event), (gst_multifilesink_chain), (gst_multifilesink_change_state): * gst/multifilesink/gstmultifilesink.h: * gst/videodrop/gstvideodrop.c: (gst_videodrop_init): * sys/cdrom/gstcdplayer.c: (cdplayer_init): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init), (dxr3audiosink_open), (dxr3audiosink_close), (dxr3audiosink_chain_pcm), (dxr3audiosink_chain_ac3), (dxr3audiosink_change_state): * sys/dxr3/dxr3audiosink.h: * sys/dxr3/dxr3spusink.c: (dxr3spusink_init), (dxr3spusink_open), (dxr3spusink_close), (dxr3spusink_chain), (dxr3spusink_change_state): * sys/dxr3/dxr3spusink.h: * sys/dxr3/dxr3videosink.c: (dxr3videosink_init), (dxr3videosink_open), (dxr3videosink_close), (dxr3videosink_write_data), (dxr3videosink_change_state): * sys/dxr3/dxr3videosink.h: * sys/glsink/glimagesink.c: (gst_glimagesink_init): * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state), (gst_qcamsrc_open), (gst_qcamsrc_close): * sys/qcam/gstqcamsrc.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init): * sys/vcd/vcdsrc.c: (gst_vcdsrc_set_property), (gst_vcdsrc_get), (gst_vcdsrc_open_file), (gst_vcdsrc_close_file), (gst_vcdsrc_change_state), (gst_vcdsrc_recalculate): * sys/vcd/vcdsrc.h: renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
2005-09-19sdlvideosink ported to 0.9 and tested with filesrc ! mpeg2decEdgard Lima1-74/+49
Original commit message from CVS: sdlvideosink ported to 0.9 and tested with filesrc ! mpeg2dec
2005-09-05Fix up all the state change functions.Jan Schmidt1-12/+13
Original commit message from CVS: Fix up all the state change functions.
2005-07-05Way, way, way too many files: Remove crack comment from the 2000 era.Andy Wingo1-2/+0
Original commit message from CVS: 2005-07-05 Andy Wingo <wingo@pobox.com> * Way, way, way too many files: Remove crack comment from the 2000 era.
2004-11-10ext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass ↵Ronald S. Bultje1-23/+44
error checking. Original commit message from CVS: * ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time): This seems to be antique leftover. It needs to pass error checking. * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init), (gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl), (gst_sdlvideosink_destroy), (gst_sdlvideosink_create), (gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain): Fix GstXOverlay implementation (#151059).
2004-11-01Fixes a bunch of problems with finalize and dispose functions, either ↵Jan Schmidt1-4/+4
assumptions that dispose is only called once, o... Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose), (gst_alsa_finalize): * ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init), (gst_cdaudio_finalize): * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init), (cdparanoia_finalize): * ext/divx/gstdivxdec.c: (gst_divxdec_dispose): * ext/divx/gstdivxenc.c: (gst_divxenc_dispose): * ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init), (dvdreadsrc_finalize): * ext/flac/gstflacdec.c: (gst_flacdec_class_init), (gst_flacdec_finalize): * ext/flac/gstflacenc.c: (gst_flacenc_class_init), (gst_flacenc_finalize): * ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init), (gst_gnomevfssink_finalize): * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init), (gst_gnomevfssrc_finalize): * ext/libfame/gstlibfame.c: (gst_fameenc_class_init), (gst_fameenc_finalize): * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_finalize): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize), (gst_sdlvideosink_class_init): * ext/sndfile/gstsf.c: (gst_sf_dispose): * gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose): * gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose): * gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose): * gst-libs/gst/xwindowlistener/xwindowlistener.c: (gst_x_window_listener_dispose): * gst/audioscale/gstaudioscale.c: * gst/playondemand/gstplayondemand.c: (play_on_demand_class_init), (play_on_demand_finalize): * gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose): * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): * sys/cdrom/gstcdplayer.c: (cdplayer_class_init), (cdplayer_finalize): * sys/glsink/glimagesink.c: (gst_glimagesink_finalize), (gst_glimagesink_class_init): * sys/oss/gstosselement.c: (gst_osselement_class_init), (gst_osselement_finalize): * sys/oss/gstosssink.c: (gst_osssink_dispose): * sys/oss/gstosssrc.c: (gst_osssrc_dispose): * sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose): Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, or not calling the parent class dispose/finalize function
2004-08-09ext/sdl/sdlvideosink.c: Only allow sane framerates.David Schleef1-1/+1
Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init): Only allow sane framerates. * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): same * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): same * testsuite/gst-lint: Test for G_GUINT64_FORMAT usage near gettext.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-48/+48
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indentThomas Vander Stichele1-210/+180
Original commit message from CVS: gst-indent
2004-03-13configure.ac: the Hermes library controls hermescolorspace, not colorspace.David Schleef1-2/+3
Original commit message from CVS: * configure.ac: the Hermes library controls hermescolorspace, not colorspace. * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init), (gst_mpeg2dec_init): minor pet peeve: disable code with #ifdef, not /* */ * ext/sdl/sdlvideosink.c: Change XID to unsigned long. * ext/sdl/sdlvideosink.h: ditto. * gst/colorspace/gstcolorspace.c: Fix old comments about Hermes
2004-03-06ext/aalib/gstaasink.c: Add fixate function. (bug #131128)David Schleef1-0/+29
Original commit message from CVS: * ext/aalib/gstaasink.c: (gst_aasink_fixate), (gst_aasink_init): Add fixate function. (bug #131128) * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init), (gst_sdlvideosink_fixate): Add fixate function. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link): Fix attempt to print a non-pointer using GST_PTR_FORMAT. * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt): Fix missing break that was causing ulaw to be interpreted as raw int.
2004-02-02change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele1-6/+6
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele1-6/+6
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-18use new error signal and classificationThomas Vander Stichele1-15/+14
Original commit message from CVS: use new error signal and classification
2004-01-14use element time.Benjamin Otte1-7/+2
Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/aalib/gstaasink.c: (gst_aasink_chain): * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event): * ext/esd/esdsink.c: (gst_esdsink_chain): * ext/libcaca/gstcacasink.c: (gst_cacasink_chain): * ext/mas/massink.c: (gst_massink_chain): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain): * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index), (gst_matroska_demux_parse_metadata): * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop), (gst_mpeg_parse_release_locks): * gst/tcp/gsttcpsink.c: (gst_tcpsink_chain): * gst/udp/gstudpsink.c: (gst_udpsink_chain): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get): * sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain), (gst_osssink_change_state): * sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain): * sys/ximage/ximagesink.c: (gst_ximagesink_chain): * sys/xvideo/xvideosink.c: (gst_xvideosink_chain), (gst_xvideosink_release_locks): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use element time. * ext/alsa/gstalsaclock.c: (gst_alsa_clock_start), (gst_alsa_clock_stop): * gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active), (gst_audio_clock_get_internal_time): simplify for use with new clocking code. * testsuite/alsa/Makefile.am: * testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps): fix testsuite for new caps system
2004-01-08ext/sdl/sdlvideosink.c: Using XOverlay public method to fire size signal.Julien Moutte1-3/+3
Original commit message from CVS: * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): Using XOverlay public method to fire size signal.
2003-12-22Merge CAPS branchDavid Schleef1-41/+29
Original commit message from CVS: Merge CAPS branch
2003-12-07Move over from GstInterface to GstImplementsInterface. Also adds some ↵Ronald S. Bultje1-7/+7
signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-20This GstVideoSink function was removed todayJan Schmidt1-2/+0
Original commit message from CVS: This GstVideoSink function was removed today
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje1-1/+1
and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-02SDL Video sink ported to the new plugin code. (Sorry that last commit ↵Iain Holmes1-48/+50
message sucked BTW) Original commit message from CVS: SDL Video sink ported to the new plugin code. (Sorry that last commit message sucked BTW)
2003-10-28Add XOverlay interface support to both sdlvideosink and xvideosink. They're ↵Ronald S. Bultje1-159/+314
fully interchangeable now. Original commit message from CVS: Add XOverlay interface support to both sdlvideosink and xvideosink. They're fully interchangeable now.
2003-10-08/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo1-2/+3
deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-09-16reverting error patch before making a branch.BRANCH-ERROR-ROOTBRANCH-ERRORThomas Vander Stichele1-21/+14
Original commit message from CVS: reverting error patch before making a branch.
2003-09-15converted gst_element_error to new format in ext/ - gettext pendingBenjamin Otte1-14/+21
Original commit message from CVS: converted gst_element_error to new format in ext/ - gettext pending
2003-09-14Integrating the GstVideoSink parent classJulien Moutte1-131/+53
Original commit message from CVS: Integrating the GstVideoSink parent class
2003-07-06New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje1-7/+4
over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte1-2/+5
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-04-07Convert some of the broken fourcc printing to GST_FOURCC_FORMATDavid Schleef1-12/+7
Original commit message from CVS: Convert some of the broken fourcc printing to GST_FOURCC_FORMAT
2003-02-02Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer ↵David Schleef1-3/+3
conversion. Original commit message from CVS: Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
2003-01-10PadConnect -> PadLinkThomas Vander Stichele1-2/+2
Original commit message from CVS: PadConnect -> PadLink
2003-01-10another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele1-5/+5
please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
2002-12-27Update to new element sync APIWim Taymans1-2/+4
Original commit message from CVS: Update to new element sync API
2002-11-27Moved clock set/get to class functions.Wim Taymans1-2/+4
Original commit message from CVS: Moved clock set/get to class functions.
2002-09-18plugins part of license field patchChristian Schaller1-1/+2
Original commit message from CVS: plugins part of license field patch
2002-08-02Don't unref event after calling the default handlerWim Taymans1-1/+1
Original commit message from CVS: Don't unref event after calling the default handler
2002-07-08unref events, do error checkingWim Taymans1-3/+7
Original commit message from CVS: unref events, do error checking
2002-05-26- Changed plugins for new APIsWim Taymans1-7/+26
Original commit message from CVS: - Changed plugins for new APIs - modularized audiofile. - added seeking, query and convert functions for mad, mpeg2dec, avidemux, mpegdemux, mpegparse - sync updates to oss. removed the ossclock for now