[vlc-commits] [Git][videolan/vlc][master] 2 commits: demux: heif: fix rotation issues
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Jan 6 06:41:59 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
30df0d8e by Francois Cartegnie at 2022-01-05T23:51:39+00:00
demux: heif: fix rotation issues
anti clockwise
- - - - -
627a4c5c by Francois Cartegnie at 2022-01-05T23:51:39+00:00
demux: heif: fix bogus SAR
- - - - -
1 changed file:
- modules/demux/mp4/heif.c
Changes:
=====================================
modules/demux/mp4/heif.c
=====================================
@@ -400,9 +400,9 @@ static int SetPictureProperties( demux_t *p_demux, uint32_t i_item_id,
{
default:
case 0: fmt->video.orientation = ORIENT_NORMAL ; break;
- case 90: fmt->video.orientation = ORIENT_ROTATED_90; break;
+ case 90: fmt->video.orientation = ORIENT_ROTATED_270; break;
case 180: fmt->video.orientation = ORIENT_ROTATED_180 ; break;
- case 270: fmt->video.orientation = ORIENT_ROTATED_270 ; break;
+ case 270: fmt->video.orientation = ORIENT_ROTATED_90 ; break;
}
break;
case ATOM_colr:
@@ -654,10 +654,8 @@ static int DerivedImageAssembleGrid( demux_t *p_demux, uint32_t i_grid_item_id,
*pp_block = p_block;
es_format_Init( fmt, VIDEO_ES, VLC_CODEC_RGBA );
- fmt->video.i_sar_num =
fmt->video.i_width =
fmt->video.i_visible_width = derivation_data.ImageGrid.output_width;
- fmt->video.i_sar_den =
fmt->video.i_height =
fmt->video.i_visible_height = derivation_data.ImageGrid.output_height;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2c65888b0f1697031e0caf79818a55149fb756b4...627a4c5c26f365dc1f2c69596d9f2026a8b00a61
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2c65888b0f1697031e0caf79818a55149fb756b4...627a4c5c26f365dc1f2c69596d9f2026a8b00a61
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list