vtenc: Let the encoder automatically choose a h264 level
authorSebastian Dröge <sebastian@centricular.com>
Thu, 18 Sep 2014 14:49:46 +0000 (17:49 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 18 Sep 2014 14:49:46 +0000 (17:49 +0300)
We should negotiate these things via caps...

sys/applemedia/vtenc.c

index 7d4f4ab..55ed9eb 100644 (file)
@@ -473,7 +473,7 @@ gst_vtenc_create_session (GstVTEnc * self)
 
   status = VTSessionSetProperty (session,
       kVTCompressionPropertyKey_ProfileLevel,
-      kVTProfileLevel_H264_Baseline_3_0);
+      kVTProfileLevel_H264_Baseline_AutoLevel);
   GST_DEBUG_OBJECT (self, "kVTCompressionPropertyKey_ProfileLevel => %d",
       (int) status);