Skip to content

Commit

Permalink
keep cvo when cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 committed Jul 7, 2021
1 parent 0539003 commit ba56167
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/video.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ class VideoFrame : public MediaFrame
frame->SetSenderTime(GetSenderTime());
//Set duration
frame->SetDuration(GetDuration());
//Set CVO
if (cvo) frame->SetVideoOrientation(*cvo);
//If we have disabled the shared buffer for this frame
if (disableSharedBuffer)
//Copy data
Expand Down

0 comments on commit ba56167

Please sign in to comment.