summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-06-29 21:24:28 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2022-07-18 00:32:55 +0200
commit6ca43a9675d651d7ea47c7ba2fafb1bf831c4d0b (patch)
treef65d30ad5e350e07844011d8d82e4e197502a7b3 /tests
parent63ce42019c8097c568a8e9250460d45f344654eb (diff)
avdevice/lavfi: output wrapped AVFrames
This avoids an extra copy of potentially quite big video frames. Instead of copying the entire frames data into a rawvideo packet it packs the frame into a wrapped avframe packet and passes it through as-is. Unfortunately, wrapped avframes are set up to be video frames, so the audio frames continue to be copied. Additionally, this enabled passing through video frames that previously were impossible to process, like hardware frames or other special formats that couldn't be packed into a rawvideo packet.
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/filter-metadata-cropdetect3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ref/fate/filter-metadata-cropdetect b/tests/ref/fate/filter-metadata-cropdetect
index e7c03ead4e..104acdd77f 100644
--- a/tests/ref/fate/filter-metadata-cropdetect
+++ b/tests/ref/fate/filter-metadata-cropdetect
@@ -1,4 +1,5 @@
-pts=0
+pts=0|
+
pts=400
pts=800|tag:lavfi.cropdetect.x1=0|tag:lavfi.cropdetect.x2=719|tag:lavfi.cropdetect.y1=61|tag:lavfi.cropdetect.y2=424|tag:lavfi.cropdetect.w=720|tag:lavfi.cropdetect.h=352|tag:lavfi.cropdetect.x=0|tag:lavfi.cropdetect.y=68
pts=1200|tag:lavfi.cropdetect.x1=0|tag:lavfi.cropdetect.x2=719|tag:lavfi.cropdetect.y1=61|tag:lavfi.cropdetect.y2=424|tag:lavfi.cropdetect.w=720|tag:lavfi.cropdetect.h=352|tag:lavfi.cropdetect.x=0|tag:lavfi.cropdetect.y=68