Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
obs-studio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yunxiang Li
obs-studio
Commits
355d5dab
Commit
355d5dab
authored
10 years ago
by
Jim
Browse files
Options
Downloads
Patches
Plain Diff
Move timestamp smooth threshold to media-io
parent
883d0500
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libobs/media-io/media-io-defs.h
+4
-0
4 additions, 0 deletions
libobs/media-io/media-io-defs.h
libobs/obs-source.c
+0
-3
0 additions, 3 deletions
libobs/obs-source.c
with
4 additions
and
3 deletions
libobs/media-io/media-io-defs.h
+
4
−
0
View file @
355d5dab
...
@@ -18,3 +18,7 @@
...
@@ -18,3 +18,7 @@
#pragma once
#pragma once
#define MAX_AV_PLANES 8
#define MAX_AV_PLANES 8
/* time threshold in nanoseconds to ensure audio timing is as seamless as
* possible */
#define TS_SMOOTHING_THRESHOLD 70000000ULL
This diff is collapsed.
Click to expand it.
libobs/obs-source.c
+
0
−
3
View file @
355d5dab
...
@@ -519,9 +519,6 @@ static inline uint64_t conv_frames_to_time(size_t frames)
...
@@ -519,9 +519,6 @@ static inline uint64_t conv_frames_to_time(size_t frames)
#define MAX_TS_VAR 5000000000ULL
#define MAX_TS_VAR 5000000000ULL
/* maximum time that timestamp can jump in nanoseconds */
/* maximum time that timestamp can jump in nanoseconds */
#define MAX_TIMESTAMP_JUMP 2000000000ULL
#define MAX_TIMESTAMP_JUMP 2000000000ULL
/* time threshold in nanoseconds to ensure audio timing is as seamless as
* possible */
#define TS_SMOOTHING_THRESHOLD 70000000ULL
static
inline
void
reset_audio_timing
(
obs_source_t
source
,
uint64_t
timetamp
)
static
inline
void
reset_audio_timing
(
obs_source_t
source
,
uint64_t
timetamp
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment