summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* sys/oss/gstosssink.c: Fix playback of mono streams (bytes_per_sample should ↵Tim-Philipp Müller2005-09-271-2/+11
| | | | | | | | | | be set from the sample width and the numb... Original commit message from CVS: * sys/oss/gstosssink.c: (gst_oss_sink_prepare): Fix playback of mono streams (bytes_per_sample should be set from the sample width and the number of channels negotiated, and not just be set to 4) (#317338)
* fix build and use of GST_LIBSThomas Vander Stichele2005-09-232-6/+9
| | | | | Original commit message from CVS: fix build and use of GST_LIBS
* Fix up all the state change functions.Jan Schmidt2005-09-052-31/+32
| | | | | Original commit message from CVS: Fix up all the state change functions.
* All plugins updated for element state changes.Andy Wingo2005-09-024-39/+40
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* Updates for two-arg init from GST_BOILERPLATE.Andy Wingo2005-08-282-2/+3
| | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class.
* sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name property after ↵Andy Wingo2005-08-231-1/+9
| | | | | | | | | | opening the mixer. Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name property after opening the mixer.
* sys/oss/gstosssrc.*: Easy to implement a mixer, eh...Andy Wingo2005-08-232-6/+19
| | | | | | | | Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstosssrc.c: * sys/oss/gstosssrc.h: Easy to implement a mixer, eh...
* sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.Andy Wingo2005-08-235-12/+166
| | | | | | | | | | | | Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstossmixerelement.h: * sys/oss/gstossmixerelement.c: Added mixer element like alsamixer. * sys/oss/Makefile.am: * sys/oss/gstossaudio.c: Register the ossmixer element.
* sys/oss/gstossmixer.*: Refactored to be more like alsamixer.Andy Wingo2005-08-2315-2804/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstossmixer.h: * sys/oss/gstossmixer.c: Refactored to be more like alsamixer. * sys/oss/gstossmixertrack.h: * sys/oss/gstossmixertrack.c: Split out from gstossmixer.[ch], like gstalsamixer. * sys/oss/gstosssrc.c: * sys/oss/gstosssink.c: Where before we used a gstosselement object as a helper library, now just call functions from gstosshelper. * sys/oss/gstosshelper.h: * sys/oss/gstosshelper.c: Made a real library. Removed propertyprobe for now, should add it back later. * sys/oss/gstosselement.h: * sys/oss/gstosselement.c: Removed, we don't have a shared base class. * sys/oss/gstosshelper.c (gst_oss_helper_probe_caps): Search higher-to-lower, makes 16 bit appear earlier in the caps, which makes it preferred.
* sys/oss/gstosssrc.*: Totally ported, dude.Andy Wingo2005-08-235-473/+311
| | | | | | | | | | | | | Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstosssrc.h: * sys/oss/gstosssrc.c: Totally ported, dude. * sys/oss/Makefile.am: * sys/oss/gstossaudio.c: Add osssrc. * sys/oss/gstosssink.c: We do native byte order.
* sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)Andy Wingo2005-08-081-9/+53
| | | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-08 Andy Wingo <wingo@pobox.com> * sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close) (gst_oss_sink_prepare, gst_oss_sink_unprepare): Update for newer audiosink api. * ext/raw1394/gstdv1394src.c (gst_dv1394src_get_property) (gst_dv1394src_set_property): Style. All about the style. * ext/esd/esdsink.c (gst_esdsink_getcaps): Return specific caps only if in READY or higher (i.e., if _open() has been called.) (gst_esdsink_open, gst_esdsink_close, gst_esdsink_prepare) (gst_esdsink_unprepare): Update for audiosink changes. (gst_esdsink_change_state): Die!
* sys/oss/gstossaudio.c (plugin_init): Second-class citizen.Andy Wingo2005-08-041-1/+1
| | | | | | | | | | | | | Original commit message from CVS: 2005-08-04 Andy Wingo <wingo@pobox.com> * sys/oss/gstossaudio.c (plugin_init): Second-class citizen. * gst/videobox/gstvideobox.c (gst_video_box_get_size): Update for API changes. * configure.ac (DEFAULT_AUDIOSINK, DEFAULT_VIDEOSINK): Set to autoaudiosink and autovideosink.
* sys/oss/gstosssink.c: Parse spec to set correct oss values.Wim Taymans2005-07-191-4/+58
| | | | | | | Original commit message from CVS: * sys/oss/gstosssink.c: (gst_oss_sink_get_format), (gst_oss_sink_open): Parse spec to set correct oss values.
* more macro splitting; fix po problemThomas Vander Stichele2005-07-105-111/+111
| | | | | Original commit message from CVS: more macro splitting; fix po problem
* add missing filezAndy Wingo2005-07-082-0/+1376
| | | | | Original commit message from CVS: add missing filez
* sys/oss/: Port from THREADED+wim's fixes.Andy Wingo2005-07-0813-843/+684
| | | | | | | Original commit message from CVS: 2005-07-08 Andy Wingo <wingo@pobox.com> * sys/oss/: Port from THREADED+wim's fixes.
* Way, way, way too many files: Remove crack comment from the 2000 era.Andy Wingo2005-07-051-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.
* Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pcJan Schmidt2005-07-011-1/+1
| | | | | | | | | | Original commit message from CVS: 2005-07-01 Jan Schmidt <thaytan@mad.scientist.com> * configure.ac: * ext/mad/Makefile.am: * sys/oss/Makefile.am: Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pc
* Make my automake version shut up about undefined variablesJan Schmidt2005-05-191-1/+1
| | | | | | | | | | Original commit message from CVS: * Makefile.am: * ext/Makefile.am: * sys/Makefile.am: Make my automake version shut up about undefined variables * gst/goom/gstgoom.c: GstAdapter moved to base objects.
* gst-plugins 0.9 cvs head now compiles (only effectv left compiling)Christian Schaller2005-05-062-6/+7
| | | | | Original commit message from CVS: gst-plugins 0.9 cvs head now compiles (only effectv left compiling)
* add GST_INTERFACES_LIBSChristian Schaller2005-05-051-1/+1
| | | | | Original commit message from CVS: add GST_INTERFACES_LIBS
* updates to make this closer to compileChristian Schaller2005-05-055-6/+43
| | | | | Original commit message from CVS: updates to make this closer to compile
* make this module a bit more 0.9 friendlyChristian Schaller2005-05-051-68/+52
| | | | | Original commit message from CVS: make this module a bit more 0.9 friendly
* sys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a ↵Ronald S. Bultje2005-02-221-4/+4
| | | | | | | | symbol conflict. Original commit message from CVS: * sys/oss/gstosselement.c: (gst_osselement_class_probe_devices): Kick the hell out of gcc for not warning me about a symbol conflict.
* sys/: Add debug categories, fix overlay disabling.Ronald S. Bultje2005-01-101-1/+15
| | | | | | | | | Original commit message from CVS: * sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_interface_init), (gst_v4l_xoverlay_set_xwindow_id): * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_interface_init), (gst_v4l2_xoverlay_set_xwindow_id): Add debug categories, fix overlay disabling.
* sys/v4l2/gstv4l2src.c: Fix against template (#150576).Ronald S. Bultje2005-01-071-0/+9
| | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Fix against template (#150576).
* remove outdated README file of oss directoryStéphane Loeuillet2004-12-211-37/+0
| | | | | Original commit message from CVS: remove outdated README file of oss directory
* sys/: g_assert() can be a macro, don't use #ifdef inside it.Ronald S. Bultje2004-12-191-3/+5
| | | | | | | Original commit message from CVS: * sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported): * sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported): g_assert() can be a macro, don't use #ifdef inside it.
* sys/oss/: fixes #159433. Also add missing copyright header to oss_probe.c.Ronald S. Bultje2004-12-162-5/+87
| | | | | | | | | Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * sys/oss/gstosselement.c: (gst_osselement_probe_caps): * sys/oss/oss_probe.c: (main): Check for mono/stereo support (similar to samplerate probing), fixes #159433. Also add missing copyright header to oss_probe.c.
* put the same mail for Zaheer Merali everywhereStéphane Loeuillet2004-12-113-3/+3
| | | | | Original commit message from CVS: put the same mail for Zaheer Merali everywhere
* sys/v4l2/gstv4l2element.c: Fix compilation if HAVE_XVIDEO is not definedZaheer Abbas Merali2004-11-111-1/+6
| | | | | | | | Original commit message from CVS: 2004-11-11 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported): Fix compilation if HAVE_XVIDEO is not defined
* Fixes a bunch of problems with finalize and dispose functions, either ↵Jan Schmidt2004-11-013-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix build on older automakeThomas Vander Stichele2004-10-271-1/+1
| | | | | Original commit message from CVS: fix build on older automake
* sys/: Remove client-side overlay handling, use the X-server v4l plugin for ↵Ronald S. Bultje2004-10-258-227/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that. Nicer overlay, less code. Also make ... Original commit message from CVS: * sys/v4l/Makefile.am: * sys/v4l/gstv4l.c: (plugin_init): * sys/v4l/gstv4lelement.c: (gst_v4lelement_get_type), (gst_v4lelement_init), (gst_v4lelement_dispose), (gst_v4lelement_change_state): * sys/v4l/gstv4lelement.h: * sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_open), (gst_v4l_xoverlay_close), (idle_refresh), (gst_v4l_xoverlay_set_xwindow_id): * sys/v4l/gstv4lxoverlay.h: * sys/v4l/v4l-overlay_calls.c: * sys/v4l/v4l_calls.h: * sys/v4l2/Makefile.am: * sys/v4l2/gstv4l2.c: (plugin_init): * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_type), (gst_v4l2element_init), (gst_v4l2element_dispose), (gst_v4l2element_change_state): * sys/v4l2/gstv4l2element.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open), (gst_v4l2_xoverlay_close), (idle_refresh), (gst_v4l2_xoverlay_set_xwindow_id): * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2-overlay_calls.c: * sys/v4l2/v4l2_calls.h: Remove client-side overlay handling, use the X-server v4l plugin for that. Nicer overlay, less code. Also make the plugin compileable without X (but then without overlay, obviously). Makes xwindowlistener obsolete, should we remove that?
* sys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, ↵Ronald S. Bultje2004-10-253-7/+10
| | | | | | | | | | | | | actually fix all cases. Original commit message from CVS: * sys/oss/gstosssrc.c: (gst_osssrc_get_time), (gst_osssrc_get), (gst_osssrc_src_query): * sys/oss/gstosssrc.h: OK, so people want offset in DEFAULT. This time, actually fix all cases. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Add FPS properly.
* sys/v4l2/gstv4l2element.c: Fix properties (channel, norm, frequency).Ronald S. Bultje2004-10-241-11/+12
| | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_set_property): Fix properties (channel, norm, frequency).
* sys/v4l2/gstv4l2element.c: Flag typo.Ronald S. Bultje2004-10-242-9/+12
| | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property): Flag typo. * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults): No warnings.
* sys/v4l2/v4l2src_calls.c: Fix hang.Ronald S. Bultje2004-10-241-0/+1
| | | | | | Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list): Fix hang.
* sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.Ronald S. Bultje2004-10-244-7/+25
| | | | | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init), (gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2_fourcc_from_structure), (gst_v4l2src_link), (gst_v4l2src_getcaps), (gst_v4l2src_change_state): * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop): Fix caps, keep track of state, work.
* sys/oss/gstosssrc.c: Don't mix bytes and samples.Ronald S. Bultje2004-10-241-3/+3
| | | | | | Original commit message from CVS: * sys/oss/gstosssrc.c: (gst_osssrc_get): Don't mix bytes and samples.
* ext/gdk_pixbuf/pixbufscale.c: Correct caps negotiationJan Schmidt2004-09-221-1/+1
| | | | | | | | | | | | | | Original commit message from CVS: * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps): Correct caps negotiation * gst/volume/gstvolume.c: (volume_chain_float), (volume_chain_int16): Modify debug output to be little more informative * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_destroy): Add XSync calls after detaching from the shared memory segment to avoid a crash.
* fix for 151236Thomas Vander Stichele2004-08-301-1/+1
| | | | | Original commit message from CVS: fix for 151236
* GL sink plugin. (Bug #147302)Gernot Ziegler2004-08-091-1/+7
| | | | | | | | | | | Original commit message from CVS: Patch from Gernot Ziegler <gz@lysator.liu.se> rewriting the GL sink plugin. (Bug #147302) * configure.ac: Test for OpenGL * sys/Makefile.am: Use test for OpenGL * sys/glsink/Makefile.am: * sys/glsink/glimagesink.c: rewrite * sys/glsink/glimagesink.h: rewrite
* compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friendsBenjamin Otte2004-08-033-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option): * ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name), (dvdnavsrc_print_event): * ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print): * ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link), (gst_ogg_mux_pad_unlink): * gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link), (gst_multipart_mux_pad_unlink): * gst/videofilter/gstvideobalance.c: (gst_videobalance_colorbalance_set_value): * gst/videomixer/videomixer.c: (gst_videomixer_pad_link), (gst_videomixer_pad_unlink): * po/uk.po: * sys/oss/gstossmixer.c: * sys/v4l/gstv4lcolorbalance.c: * sys/v4l/gstv4ltuner.c: * sys/v4l/v4lsrc_calls.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2tuner.c: compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
* gst-libs/gst/riff/riff-media.c: mp42/mp43 (no caps) exist too.Ronald S. Bultje2004-07-151-3/+3
| | | | | | | | | | | | | | Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): mp42/mp43 (no caps) exist too. * gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps): Set pixel_width/height; we've got them in-caps. * gst/typefind/gsttypefindfunctions.c: (plugin_init): * gst/wavparse/gstwavparse.c: (plugin_init): Both are valid primary. * sys/oss/gstossmixer.c: Remove i18n hack and enable translations.
* sys/oss/: Fix offset on osssrc.Wim Taymans2004-07-073-5/+13
| | | | | | | | | Original commit message from CVS: * sys/oss/gstosselement.c: (gst_osselement_reset), (gst_osselement_parse_caps): * sys/oss/gstosselement.h: * sys/oss/gstosssrc.c: (gst_osssrc_get): Fix offset on osssrc.
* gst/wavenc/gstwavenc.c: Switch to GST_WRITE_UINT32_LE macros (bug #144624)David Schleef2004-07-031-1/+9
| | | | | | | | | | Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_setup), (gst_wavenc_stop_file): Switch to GST_WRITE_UINT32_LE macros (bug #144624) * sys/oss/gstosselement.c: (gst_osselement_probe_caps), (gst_osselement_rate_probe_check): Add another workaround for buggy drivers (bug #145336)
* sys/oss/: advertise correct template caps - we indeed do non-native ↵Benjamin Otte2004-06-292-5/+15
| | | | | | | | | | | | | | endianness and 8bit audio has no endianness Original commit message from CVS: * sys/oss/gstosssink.c: * sys/oss/gstosssrc.c: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness * sys/ximage/ximagesink.c: (gst_ximagesink_getcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps): avoid (wrong) duplications in getcaps function and return template caps
* sys/osxaudio/Makefile.am: Workaround so that the osxaudio .so file gets ↵Zaheer Abbas Merali2004-06-221-0/+1
| | | | | | | | | | linked with the Original commit message from CVS: 2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali.org> * sys/osxaudio/Makefile.am: Workaround so that the osxaudio .so file gets linked with the
* configure.ac: Add objective-c support if running in Darwin/Mac OS XZaheer Abbas Merali2004-06-221-4/+11
| | | | | | | | | | | | | | | | Original commit message from CVS: 2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali.org> * configure.ac: Add objective-c support if running in Darwin/Mac OS X * sys/Makefile.am: * sys/osxvideo: * sys/osxvideo/Makefile.am: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: Add osxvideosink, a cocoa-based osx video sink