[vlc-devel] [PATCH 7/7] picture: remove write-only b_progressive flag
Steve Lhomme
robux4 at ycbcr.xyz
Fri Nov 6 15:42:14 CET 2020
The video_format holds the same information and updates the format in the rare
cases where it changes.
---
include/vlc_picture.h | 1 -
src/misc/picture.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index acc856d8f58..aea322d10ae 100644
--- a/include/vlc_picture.h
+++ b/include/vlc_picture.h
@@ -146,7 +146,6 @@ struct picture_t
* Those properties can be changed by the decoder
* @{
*/
- bool b_progressive; /**< is it a progressive frame? */
bool b_top_field_first; /**< which field is first */
bool b_multiview_left_eye; /**< left eye or right eye in multiview */
unsigned int i_nb_fields; /**< number of displayed fields */
diff --git a/src/misc/picture.c b/src/misc/picture.c
index 6902b9a8fcd..7d3b618a5fe 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -94,7 +94,6 @@ void picture_Reset( picture_t *p_picture )
p_picture->date = VLC_TICK_INVALID;
p_picture->b_force = false;
p_picture->b_still = false;
- p_picture->b_progressive = false;
p_picture->i_nb_fields = 2;
p_picture->b_top_field_first = false;
PictureDestroyContext( p_picture );
@@ -394,7 +393,6 @@ void picture_CopyProperties( picture_t *p_dst, const picture_t *p_src )
p_dst->b_force = p_src->b_force;
p_dst->b_still = p_src->b_still;
- p_dst->b_progressive = p_src->b_progressive;
p_dst->i_nb_fields = p_src->i_nb_fields;
p_dst->b_top_field_first = p_src->b_top_field_first;
}
--
2.26.2
More information about the vlc-devel
mailing list