[vlc-commits] [Git][videolan/vlc][master] 4 commits: png: set b_progressive output
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Apr 16 14:59:48 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
018f6718 by Thomas Guillem at 2026-04-16T14:32:24+00:00
png: set b_progressive output
Fixes the following assert:
```
vlc: ../../modules/video_filter/deinterlace/deinterlace.c:533: Open: Assertion `vlc_fourcc_IsYUV( fourcc )' failed.
```
- - - - -
38a61891 by Thomas Guillem at 2026-04-16T14:32:24+00:00
svg: set b_progressive output
Fixes the following assert:
```
vlc: ../../modules/video_filter/deinterlace/deinterlace.c:533: Open: Assertion `vlc_fourcc_IsYUV( fourcc )' failed.
```
- - - - -
97382fe9 by Thomas Guillem at 2026-04-16T14:32:24+00:00
jpeg: set b_progressive output
Fixes the following assert:
```
vlc: ../../modules/video_filter/deinterlace/deinterlace.c:533: Open: Assertion `vlc_fourcc_IsYUV( fourcc )' failed.
```
- - - - -
d334566e by Thomas Guillem at 2026-04-16T14:32:24+00:00
bpg: set b_progressive output
Fixes the following assert:
```
vlc: ../../modules/video_filter/deinterlace/deinterlace.c:533: Open: Assertion `vlc_fourcc_IsYUV( fourcc )' failed.
```
- - - - -
4 changed files:
- modules/codec/bpg.c
- modules/codec/jpeg.c
- modules/codec/png.c
- modules/codec/svg.c
Changes:
=====================================
modules/codec/bpg.c
=====================================
@@ -137,6 +137,8 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
goto error;
}
+ p_pic->b_progressive = true;
+
const int img_height = img_info.height;
for (int i = 0; i < img_height; i++)
{
=====================================
modules/codec/jpeg.c
=====================================
@@ -531,6 +531,8 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_block)
goto error;
}
+ p_pic->b_progressive = true;
+
/* Read ICC profile */
#if defined(LIBJPEG_TURBO_VERSION_NUMBER) && LIBJPEG_TURBO_VERSION_NUMBER >= 1005090
JOCTET *p_icc;
=====================================
modules/codec/png.c
=====================================
@@ -356,6 +356,7 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
p_pic = decoder_NewPicture( p_dec );
if( !p_pic ) goto error;
+ p_pic->b_progressive = true;
/* Decode ICC profile */
#ifdef PNG_iCCP_SUPPORTED
if (png_get_valid( p_png, p_info, PNG_INFO_iCCP ))
=====================================
modules/codec/svg.c
=====================================
@@ -223,6 +223,8 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
if( !p_pic )
goto done;
+ p_pic->b_progressive = true;
+
/* NOTE: Do not use the stride calculation from cairo, because it is wrong:
* stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, dim.width);
* Use the stride from VLC its picture_t::p[0].i_pitch, which is correct.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/cf149bc38ce6cdda16f29d57b7caa29096ea958c...d334566ea909a5ad5b6cec89ac5eb721f4ee0852
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/cf149bc38ce6cdda16f29d57b7caa29096ea958c...d334566ea909a5ad5b6cec89ac5eb721f4ee0852
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list