diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/applemedia/avsamplevideosink.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/applemedia/avsamplevideosink.m b/sys/applemedia/avsamplevideosink.m index 199e65937..08f7e13f4 100644 --- a/sys/applemedia/avsamplevideosink.m +++ b/sys/applemedia/avsamplevideosink.m @@ -748,11 +748,13 @@ gst_av_sample_video_sink_show_frame (GstVideoSink * vsink, GstBuffer * buf) _request_data (av_sink); g_mutex_unlock (&av_sink->render_lock); +#if defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1010 if ([av_sink->layer status] == AVQueuedSampleBufferRenderingStatusFailed) { GST_ERROR_OBJECT (av_sink, "failed to enqueue buffer on layer, %s", [[[av_sink->layer error] description] UTF8String]); return GST_FLOW_ERROR; } +#endif return ret; } |