mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Remove interlaced_frame debug, it can't be used.
This commit is contained in:
parent
34c72d08b3
commit
d574fbe8b3
5
video.c
5
video.c
@ -5677,13 +5677,12 @@ enum PixelFormat Video_get_format(VideoHwDecoder * decoder,
|
|||||||
/// @param interlaced interlaced flag (frame isn't right)
|
/// @param interlaced interlaced flag (frame isn't right)
|
||||||
/// @param frame frame to display
|
/// @param frame frame to display
|
||||||
///
|
///
|
||||||
|
/// @note frame->interlaced_frame can't be used for interlace detection
|
||||||
|
///
|
||||||
static void VideoSetPts(int64_t * pts_p, int interlaced, const AVFrame * frame)
|
static void VideoSetPts(int64_t * pts_p, int interlaced, const AVFrame * frame)
|
||||||
{
|
{
|
||||||
int64_t pts;
|
int64_t pts;
|
||||||
|
|
||||||
if (interlaced != frame->interlaced_frame) {
|
|
||||||
Debug(3, "video: can't use frame->interlaced_frame\n");
|
|
||||||
}
|
|
||||||
// update video clock
|
// update video clock
|
||||||
if ((uint64_t) * pts_p != AV_NOPTS_VALUE) {
|
if ((uint64_t) * pts_p != AV_NOPTS_VALUE) {
|
||||||
*pts_p += interlaced ? 40 * 90 : 20 * 90;
|
*pts_p += interlaced ? 40 * 90 : 20 * 90;
|
||||||
|
Loading…
Reference in New Issue
Block a user