They are always properly set now. Avoid a separate timebase-setting call, which duplicates the knowledge of the timebase being used.
Showing the changes to fftools/sync_queue.h (1 of 4 files). Show all
Unified · Split
| @@ -59,12 +59,6 @@ void sq_free(SyncQueue **sq); · 58 unmodified lines | |||
| 59 | */ | 59 | */ |
| 60 | int sq_add_stream(SyncQueue *sq, int limiting); | 60 | int sq_add_stream(SyncQueue *sq, int limiting); |
| 61 | 61 | ||
| 62 | /** | ||
| 63 | * Set the timebase for the stream with index stream_idx. Should be called | ||
| 64 | * before sending any frames for this stream. | ||
| 65 | */ | ||
| 66 | void sq_set_tb(SyncQueue *sq, unsigned int stream_idx, AVRational tb); | ||
| 67 | |||
| 68 | /** | 62 | /** |
| 69 | * Limit the number of output frames for stream with index stream_idx | 63 | * Limit the number of output frames for stream with index stream_idx |
| 70 | * to max_frames. | 64 | * to max_frames. |