[Bug 711211] avfvideosrc: use input device formats to set/get caps instead of session presets
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 5 08:00:36 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=711211
GStreamer | gst-plugins-bad | git
--- Comment #4 from Andoni Morales <ylatuya at gmail.com> 2013-11-05 16:00:35 UTC ---
Review of attachment 258929:
--> (https://bugzilla.gnome.org/review?bug=711211&attachment=258929)
::: sys/applemedia/avfvideosrc.m
@@ +351,3 @@
+ found_framerate = TRUE;
+ device.activeVideoMinFrameDuration = rate.minFrameDuration;
+ device.activeVideoMaxFrameDuration = rate.maxFrameDuration;
This API is only available in OS X 10.9 and IOS 7.0, so you should these
property using key-value coding [1] either with try catch or with runtime
detection of the current version [2]
[1]
https://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/Protocols/NSKeyValueCoding_Protocol/Reference/Reference.html#//apple_ref/occ/instm/NSObject/setValue:forKey:
[2]
https://developer.apple.com/library/mac/documentation/developertools/conceptual/cross_development/Using/using.html
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list