Skip to content

Commit

Permalink
gst: va: Fix AV1 decoder to use parsebin
Browse files Browse the repository at this point in the history
Some AV1 tests are using matroska container, so forcing IFV parser
cause some failures. This fixes:

  - av1-1-b8-03-sizedown
  - av1-1-b8-03-sizeup
  • Loading branch information
ndufresne authored and rgonzalezfluendo committed Nov 23, 2023
1 parent 016158e commit 3fefc8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluster/decoders/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ class GStreamerV4l2VP9Gst10Decoder(GStreamer10Video):
class GStreamerVaAV1Gst10Decoder(GStreamer10Video):
'''GStreamer AV1 VA decoder implementation for GStreamer 1.0'''
codec = Codec.AV1
decoder_bin = ' ivfparse ! av1parse ! vaav1dec '
check_decoder_bin = ' vaav1dec '
decoder_bin = f' parsebin ! {check_decoder_bin}'
api = 'VA'
hw_acceleration = True

Expand Down

0 comments on commit 3fefc8c

Please sign in to comment.