Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bf143936
Commit
bf143936
authored
Aug 31, 2016
by
Stephen Hutchinson
Committed by
Michael Niedermayer
Oct 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avisynth: fix Planar RGB output
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
f53c26c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
avisynth.c
libavformat/avisynth.c
+3
-1
No files found.
libavformat/avisynth.c
View file @
bf143936
...
@@ -690,8 +690,10 @@ static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt,
...
@@ -690,8 +690,10 @@ static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt,
#ifdef USING_AVISYNTH
#ifdef USING_AVISYNTH
/* Flip Planar RGB video. */
/* Flip Planar RGB video. */
if
(
avsplus
&&
(
avs_library
.
avs_is_planar_rgb
(
avs
->
vi
)
||
if
(
avsplus
&&
(
avs_library
.
avs_is_planar_rgb
(
avs
->
vi
)
||
avs_library
.
avs_is_planar_rgba
(
avs
->
vi
)))
avs_library
.
avs_is_planar_rgba
(
avs
->
vi
)))
{
src_p
=
src_p
+
(
planeheight
-
1
)
*
pitch
;
pitch
=
-
pitch
;
pitch
=
-
pitch
;
}
#endif
#endif
avs_library
.
avs_bit_blt
(
avs
->
env
,
dst_p
,
rowsize
,
src_p
,
pitch
,
avs_library
.
avs_bit_blt
(
avs
->
env
,
dst_p
,
rowsize
,
src_p
,
pitch
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment