Skip to content

Commit ba6b391

Browse files
author
Clement Champetier
committed
VideoProperties: remove setting of skip_frame when analysing the first GOP
1 parent acd25dc commit ba6b391

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/AvTranscoder/properties/VideoProperties.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,8 @@ void VideoProperties::analyseGopStructure(IProgress& progress)
507507
// Get the stream
508508
IInputStream& stream = file.getStream(_streamIndex);
509509
stream.activate();
510-
// Setup a decoder
510+
// Create a decoder
511511
VideoDecoder decoder(static_cast<InputStream&>(stream));
512-
// Discard no frame type when decode
513-
_codecContext->skip_frame = AVDISCARD_NONE;
514512

515513
size_t count = 0;
516514
int positionOfFirstKeyFrame = -1;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy