Andoni Morales Alastruey
bb980775f8
osxvideosink: fix setting window handle after transition
...
The destroyed flag was not reset properly and it's also not needed
as we can check osxwindow != NULL
2013-05-02 14:03:43 +02:00
Andoni Morales Alastruey
baa23d314d
osxvideosink: fix segfault accessing osxwindow when not set yet
2013-04-16 14:54:06 +02:00
Sebastian Dröge
b0b0557c48
gst: Add better support for static plugins
2013-04-15 15:54:11 +02:00
Todd Agulnick
a30476497f
osxvideo: include pthread.h to fix compiler warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=697303
2013-04-05 09:34:23 +01:00
Alexey Chernov
63235d1054
osxvideosink: Make GstNavigation key input events in osxvideosink compatible with x(v)imagesink ones
2013-01-31 11:44:22 +01:00
Alexey Chernov
a8fe984d65
osxvideosink: Fix crash in osxvideosink with external window output
2013-01-16 11:43:56 +01:00
Alexey Chernov
77fde4b8ba
osxvideosink: Make GstGLView propagate input events to its parent view
...
Fixes bug #691832
2013-01-16 11:38:16 +01:00
Alexey Chernov
d4622c974f
osxvideosink: Fix resizing the Cocoa window on receiving new caps
...
Fixes bug #689732 .
2012-12-10 11:45:10 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Martin Ertsaas
7fcbf88ced
osxvideosink: Make osxvideosink use the non-deprecated threading api from glib.
...
https://bugzilla.gnome.org/show_bug.cgi?id=682446
2012-08-22 11:09:55 +01:00
Andoni Morales Alastruey
6b7f165190
osxvideosink: add a better detection for the main run loop
2012-08-06 10:59:09 +02:00
Tim-Philipp Müller
b2b3de569a
osxvideosink: default to force-aspect-ratio=true
2012-06-29 11:51:30 +01:00
Thiago Santos
44d010277c
osxvideo: straightforward port to 0.11
2012-06-05 17:53:58 -03:00
Josep Torra
bb8cdf4cc5
osxvideosink: Really fix the build on 10.5
...
The API that we use to run the Cocoa loop in another
thread does not exist in 10.5 or earlier.
2012-05-31 10:26:27 +02:00
Alessandro Decina
f20cdcd36b
osxvideosink: fix race in starting the runloop thread
...
Block gst_osx_video_sink_run_cocoa_loop until the loop thread has started and
finished initializing NSApp. Fixes occasional warnings/crashes due to two
threads going inside NSApp before finishLaunching had completed.
2012-05-31 10:26:10 +02:00
Josep Torra
76b7998e4f
osxvideosink: Fix last commit to actually work
...
MAC_OS_X_VERSION_10_6 is obviously not defined on 10.5.
2012-05-30 16:03:55 +02:00
Sebastian Dröge
88554404e6
osxvideosink: Put the right flags in the right variable
2012-05-30 13:51:35 +02:00
Sebastian Dröge
efab9e6aa3
osxvideosink: NSWindowDelegate is available in all OSX versions newer than 10.6
2012-05-30 12:43:37 +02:00
Josep Torra
c106a3653b
osxvideosink: Fix build with older OSX versions
2012-05-30 12:40:57 +02:00
Sebastian Dröge
6bd61f861c
configure: Add OBJC specific compiler flags
...
See bug #643939 .
2012-05-30 11:28:33 +02:00
Andoni Morales Alastruey
5b3d3b0885
osxvideosink: make sure all selectors are performed on the same thread
...
When we are using a dedicated thread to run the main run loop we
must make sure that all selectors are performed on this same thread.
For instance if performSelectorOnMainThread is called from the real
main thread, it will not go through the message queue and will be
executed from the real main thread. By forcing the target thread,
we ensure that all functions will be called either from the real
main thread when the main run loop is running or from our thread
spinning the main loop.
2012-05-25 11:07:35 +02:00
Alessandro Decina
57e43aeb21
osxvideosink: start the loop before calling [gstview haveSuperview]
...
...as haveSuperview requires the mainloop to be running
2012-05-24 14:36:13 +02:00
Alessandro Decina
dc8de54cce
osxvideosink: fix indentation
2012-05-24 14:36:09 +02:00
Alessandro Decina
fdf5fd9f16
osxvideosink: enable running the cocoa main runloop in a thread
2012-05-24 14:36:03 +02:00
Alessandro Decina
718837d914
osxvideosink: add code to optionally run the cocoa main runloop in a separate thread
...
Add a little hack to run the cocoa main runloop from a separate thread _when_
the main runloop is not being run (which means that the app doesn't use cocoa).
Runloops are thread specific, so the hack boils down to getting the runloop for
the main thread and setting it as the runloop for our dedicated thread.
2012-05-24 14:35:59 +02:00
Alessandro Decina
e3cba62b7e
osxvideosink: reset app_started to FALSE when shutting down
2012-05-24 14:35:55 +02:00
Alessandro Decina
645b37e80a
osxvideosink: rename cocoa runloop helper funcs
2012-05-24 14:35:51 +02:00
Alessandro Decina
7f576b923a
osxvideosink: don't create application menus
2012-05-24 14:35:46 +02:00
Andoni Morales Alastruey
a3cf0ab5f5
osxvideosink: reset the embed property for backward compatilibity
2012-05-24 14:35:42 +02:00
Andoni Morales Alastruey
7cc93e9195
osxvideosink: fix navigation when force-aspect-ratio is activated
2012-05-24 14:35:37 +02:00
Andoni Morales Alastruey
fd19abf9ee
osxvideosink: add force-aspect-ratio property
2012-05-24 14:35:32 +02:00
Andoni Morales Alastruey
9b8bfe9b9e
osxvideosink: start internal window if no view is provided
2012-05-24 14:35:27 +02:00
Andoni Morales Alastruey
ba5d55dd69
osxvideosink: implement the navigation interface
2012-05-24 14:35:21 +02:00
Andoni Morales Alastruey
088bc6b056
osvideosink: create, destroy, resize and draw from the main thread
2012-05-24 14:35:16 +02:00
Tim-Philipp Müller
e09ae5736d
Use new gst_element_class_set_static_metadata()
2012-04-10 00:51:41 +01:00
Sebastian Dröge
aa2cd462da
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 17:36:38 +02:00
Sebastian Dröge
5cdd49bf25
gst: Update versioning
2012-04-04 14:37:47 +02:00
Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Stig Sandnes
ffe010ee4d
osxvideo: Fix leak of NSOpenGLPixelFormat object
...
https://bugzilla.gnome.org/show_bug.cgi?id=667818
2012-01-13 10:14:34 +00:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Stefan Kost
77b656eec1
various (sys): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 17:39:36 +03:00
Philippe Normand
720369c06e
osxvideosink: use the new xoverlay APIs
...
Also bumped -base requirements.
2010-09-21 13:40:33 +02:00
Alessandro Decina
3fdd51952b
osxvideosink: allow switching views at runtime.
2010-05-11 22:30:03 +02:00
Alessandro Decina
5f9f71b38e
osxvideosink: implement the xoverlay interface. Fixes #618349 .
2010-05-11 19:58:00 +02:00
Tristan Matthews
53370fc899
osx: fix compiler warnings
...
Added void parameter to avoid old-style definition warning.
Added -Wno-aggregate-return flag to avoid erroneous aggregate return warning.
https://bugzilla.gnome.org/show_bug.cgi?id=613663
2010-03-23 08:23:09 +01:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Michael Smith
8991a713a7
osxvideosink: Create the video NSView in READY->PAUSED rather than NULL->READY
2009-10-23 18:31:14 -07:00
Michael Smith
2da535f56f
osxvideo: explicitly link to GST_LIBS
2009-10-23 18:28:22 -07:00
Josep Torra
3f7aed54f9
osxvideo: fix a warning doing a cast
2009-10-09 12:14:22 +02:00
David Schleef
0083b9e405
Remove hardcoded definition of OBJC
2009-03-01 12:47:37 -08:00