Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
dc1094f0
Commit
dc1094f0
authored
May 23, 2005
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work around bug in ffmpeg
parent
a49fb510
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vnc2mpg.c
client_examples/vnc2mpg.c
+1
-0
No files found.
client_examples/vnc2mpg.c
View file @
dc1094f0
...
@@ -71,6 +71,7 @@ AVStream *add_video_stream(AVFormatContext *oc, int codec_id, int w, int h)
...
@@ -71,6 +71,7 @@ AVStream *add_video_stream(AVFormatContext *oc, int codec_id, int w, int h)
#else
#else
c
->
time_base
.
den
=
STREAM_FRAME_RATE
;
c
->
time_base
.
den
=
STREAM_FRAME_RATE
;
c
->
time_base
.
num
=
1
;
c
->
time_base
.
num
=
1
;
c
->
pix_fmt
=
PIX_FMT_YUV420P
;
#endif
#endif
c
->
gop_size
=
12
;
/* emit one intra frame every twelve frames at most */
c
->
gop_size
=
12
;
/* emit one intra frame every twelve frames at most */
if
(
c
->
codec_id
==
CODEC_ID_MPEG2VIDEO
)
{
if
(
c
->
codec_id
==
CODEC_ID_MPEG2VIDEO
)
{
...
...
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