You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (state->frame_state.show_frame == 1 || state->frame_state.show_existing_frame == 1) {
4397
+
GF_LOG(GF_LOG_WARNING, GF_LOG_CODING, ("[AV1] Warning: Dolby Vision metadata OBU must appear before the first shown frame OBU. This content may be non-compliant with the Dolby Vision specification.\n"));
4398
+
}
4399
+
if (state->dolby_rpu_detected) {
4400
+
GF_LOG(GF_LOG_WARNING, GF_LOG_CODING, ("[AV1] Warning: Each AV1 Temporal Unit must contain exactly one Dolby Vision metadata OBU. This content may be non-compliant with the Dolby Vision specification.\n"));
// Dolby Vision Video Elementary Stream Multiplexing Spec version 2.0 Section 3
4563
+
if (state->dolby_rpu_detected) {
4564
+
switch(*obu_type) {
4565
+
case OBU_TEMPORAL_DELIMITER:
4566
+
state->dolby_rpu_detected = GF_FALSE;
4567
+
break;
4568
+
case OBU_FRAME_HEADER:
4569
+
case OBU_REDUNDANT_FRAME_HEADER:
4570
+
case OBU_FRAME:
4571
+
if (state->frame_state.show_frame == 0 && state->frame_state.show_existing_frame == 0) {
4572
+
GF_LOG(GF_LOG_WARNING, GF_LOG_CODING, ("[AV1] Warning: Dolby Vision metadata OBU must appear after all non-shown frames. This content may be non-compliant with the Dolby Vision specification.\n"));
0 commit comments