mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 13:03:52 +08:00
timecode: drop lavc timecode on next bump.
This commit is contained in:
committed by
Clément Bœsch
parent
6f55156234
commit
b90d79ec1f
@@ -22,8 +22,13 @@
|
|||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Timecode helpers
|
* Timecode helpers
|
||||||
|
* This *private* API is deprecated, please use the one available in libavutil instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
|
#if FF_API_OLD_TIMECODE
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "timecode.h"
|
#include "timecode.h"
|
||||||
#include "libavutil/log.h"
|
#include "libavutil/log.h"
|
||||||
@@ -128,7 +133,6 @@ int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FF_API_OLD_TIMECODE
|
|
||||||
int ff_framenum_to_drop_timecode(int frame_num)
|
int ff_framenum_to_drop_timecode(int frame_num)
|
||||||
{
|
{
|
||||||
return avpriv_framenum_to_drop_timecode(frame_num);
|
return avpriv_framenum_to_drop_timecode(frame_num);
|
||||||
|
|||||||
@@ -22,11 +22,16 @@
|
|||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Timecode helpers header
|
* Timecode helpers header
|
||||||
|
* This *private* API is deprecated, please use the one available in libavutil instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AVCODEC_TIMECODE_H
|
#ifndef AVCODEC_TIMECODE_H
|
||||||
#define AVCODEC_TIMECODE_H
|
#define AVCODEC_TIMECODE_H
|
||||||
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
|
#if FF_API_OLD_TIMECODE
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "libavutil/rational.h"
|
#include "libavutil/rational.h"
|
||||||
@@ -93,7 +98,6 @@ int avpriv_check_timecode_rate(void *avcl, AVRational rate, int drop);
|
|||||||
*/
|
*/
|
||||||
int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc);
|
int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc);
|
||||||
|
|
||||||
#if FF_API_OLD_TIMECODE
|
|
||||||
attribute_deprecated int ff_framenum_to_drop_timecode(int frame_num);
|
attribute_deprecated int ff_framenum_to_drop_timecode(int frame_num);
|
||||||
attribute_deprecated uint32_t ff_framenum_to_smtpe_timecode(unsigned frame, int fps, int drop);
|
attribute_deprecated uint32_t ff_framenum_to_smtpe_timecode(unsigned frame, int fps, int drop);
|
||||||
attribute_deprecated int ff_init_smtpe_timecode(void *avcl, struct ff_timecode *tc);
|
attribute_deprecated int ff_init_smtpe_timecode(void *avcl, struct ff_timecode *tc);
|
||||||
|
|||||||
Reference in New Issue
Block a user