Skip to content

Commit

Permalink
fix typo for padded_bits_per_pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Apr 7, 2021
1 parent 7709189 commit 8de0fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function VideoReader(avin::AVInput{I}, video_stream = 1;
frame_graph = GrayTransform()
set_basic_frame_properties!(frame_graph.dstframe, width, height,
dst_pix_fmt)
frame_graph.src_depth = frame_graph.dst_depth = bits_per_pixel
frame_graph.src_depth = frame_graph.dst_depth = padded_bits_per_pixel
frame_graph.dstframe.color_range = colorspace_details.color_range
elseif ! transcode || codec_context.pix_fmt == dst_pix_fmt
frame_graph = AVFramePtr()
Expand Down

0 comments on commit 8de0fb7

Please sign in to comment.