vtenc: Let the encoder automatically choose a h264 level

We should negotiate these things via caps...
This commit is contained in:
Sebastian Dröge 2014-09-18 17:49:46 +03:00
parent 31476a3c46
commit 9380f6282d

View 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);