Commit 6b90f63d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

demux:mkv: fix logs

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f0e28152
...@@ -755,22 +755,22 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m ) ...@@ -755,22 +755,22 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
} }
E_CASE( KaxVideoGChromaX, chroma ) E_CASE( KaxVideoGChromaX, chroma )
{ {
debug( vars, "Video Red Chroma X"); debug( vars, "Video Green Chroma X");
vars.tk->fmt.video.mastering.primaries[0] = static_cast<float>(chroma) * 50000.f; vars.tk->fmt.video.mastering.primaries[0] = static_cast<float>(chroma) * 50000.f;
} }
E_CASE( KaxVideoGChromaY, chroma ) E_CASE( KaxVideoGChromaY, chroma )
{ {
debug( vars, "Video Red Chroma Y"); debug( vars, "Video Green Chroma Y");
vars.tk->fmt.video.mastering.primaries[1] = static_cast<float>(chroma) * 50000.f; vars.tk->fmt.video.mastering.primaries[1] = static_cast<float>(chroma) * 50000.f;
} }
E_CASE( KaxVideoBChromaX, chroma ) E_CASE( KaxVideoBChromaX, chroma )
{ {
debug( vars, "Video Red Chroma X"); debug( vars, "Video Blue Chroma X");
vars.tk->fmt.video.mastering.primaries[2] = static_cast<float>(chroma) * 50000.f; vars.tk->fmt.video.mastering.primaries[2] = static_cast<float>(chroma) * 50000.f;
} }
E_CASE( KaxVideoBChromaY, chroma ) E_CASE( KaxVideoBChromaY, chroma )
{ {
debug( vars, "Video Red Chroma Y"); debug( vars, "Video Blue Chroma Y");
vars.tk->fmt.video.mastering.primaries[3] = static_cast<float>(chroma) * 50000.f; vars.tk->fmt.video.mastering.primaries[3] = static_cast<float>(chroma) * 50000.f;
} }
E_CASE( KaxVideoRChromaX, chroma ) E_CASE( KaxVideoRChromaX, chroma )
...@@ -785,12 +785,12 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m ) ...@@ -785,12 +785,12 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
} }
E_CASE( KaxVideoWhitePointChromaX, white ) E_CASE( KaxVideoWhitePointChromaX, white )
{ {
debug( vars, "Video Red Chroma X"); debug( vars, "Video WhitePoint X");
vars.tk->fmt.video.mastering.white_point[0] = static_cast<float>(white) * 50000.f; vars.tk->fmt.video.mastering.white_point[0] = static_cast<float>(white) * 50000.f;
} }
E_CASE( KaxVideoWhitePointChromaY, white ) E_CASE( KaxVideoWhitePointChromaY, white )
{ {
debug( vars, "Video Red Chroma Y"); debug( vars, "Video WhitePoint Y");
vars.tk->fmt.video.mastering.white_point[1] = static_cast<float>(white) * 50000.f; vars.tk->fmt.video.mastering.white_point[1] = static_cast<float>(white) * 50000.f;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment