filters/frame: use correct check for mp_frame_set_pts
Not effect for current handlers. Fixes: [Bug] frame.c: Wrong handler check in mp_frame_set_pts (get_pts instead of set_pts)
This commit is contained in:
1 parent
e7f5d8f9c8
commit
6444c05059
1 file changed
+1
-1
+1
-1
@@ -169,7 +169,7 @@ double mp_frame_get_pts(struct mp_frame frame)
|
||||
|
||||
void mp_frame_set_pts(struct mp_frame frame, double pts)
|
||||
{
|
||||
if (frame_handlers[frame.type].get_pts)
|
||||
if (frame_handlers[frame.type].set_pts)
|
||||
frame_handlers[frame.type].set_pts(frame.data, pts);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user