Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
58c4b0f9
Commit
58c4b0f9
authored
Feb 03, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: extend feedback in case of video changes
parent
f0eacbc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ffplay.c
ffplay.c
+6
-2
No files found.
ffplay.c
View file @
58c4b0f9
...
...
@@ -1859,8 +1859,12 @@ static int video_thread(void *arg)
||
last_h
!=
frame
->
height
||
last_format
!=
frame
->
format
||
last_serial
!=
serial
)
{
av_log
(
NULL
,
AV_LOG_INFO
,
"Frame changed from size:%dx%d to size:%dx%d
\n
"
,
last_w
,
last_h
,
frame
->
width
,
frame
->
height
);
av_log
(
NULL
,
AV_LOG_INFO
,
"Video frame changed from size:%dx%d format:%s serial:%d to size:%dx%d format:%s serial:%d
\n
"
,
last_w
,
last_h
,
(
const
char
*
)
av_x_if_null
(
av_get_pix_fmt_name
(
last_format
),
"none"
),
last_serial
,
frame
->
width
,
frame
->
height
,
(
const
char
*
)
av_x_if_null
(
av_get_pix_fmt_name
(
frame
->
format
),
"none"
),
serial
);
avfilter_graph_free
(
&
graph
);
graph
=
avfilter_graph_alloc
();
if
((
ret
=
configure_video_filters
(
graph
,
is
,
vfilters
,
frame
))
<
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment