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
51df7b23
Commit
51df7b23
authored
Jan 31, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movenc: Don't set a default sample duration when creating ismv
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
298a587f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
movenc.c
libavformat/movenc.c
+4
-3
No files found.
libavformat/movenc.c
View file @
51df7b23
...
@@ -2175,10 +2175,11 @@ static int mov_write_tfhd_tag(AVIOContext *pb, MOVTrack *track,
...
@@ -2175,10 +2175,11 @@ static int mov_write_tfhd_tag(AVIOContext *pb, MOVTrack *track,
flags
|=
0x20
;
/* default-sample-flags-present */
flags
|=
0x20
;
/* default-sample-flags-present */
}
}
/* Don't set a default sample size when creating data for silverlight,
/* Don't set a default sample size, the silverlight player refuses
* the player refuses to play files with that set. */
* to play files with that set. Don't set a default sample duration,
* WMP freaks out if it is set. */
if
(
track
->
mode
==
MODE_ISM
)
if
(
track
->
mode
==
MODE_ISM
)
flags
&=
~
0x1
0
;
flags
&=
~
0x1
8
;
avio_wb32
(
pb
,
0
);
/* size placeholder */
avio_wb32
(
pb
,
0
);
/* size placeholder */
ffio_wfourcc
(
pb
,
"tfhd"
);
ffio_wfourcc
(
pb
,
"tfhd"
);
...
...
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