On 02/05/2012 03:16 PM, Anton Khirnov wrote:

> The actual number (1/1000) will probably require some
> discussion/tweaking in the future, but should be good enough for now,
> since the timestamps in AVSubtitle are in this timebase by definition.
> ---
>  avconv.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/avconv.c b/avconv.c
> index 509b1dc..876ad19 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -2434,6 +2434,7 @@ static int transcode_init(OutputFile *output_files,
>  #endif
>                  break;
>              case AVMEDIA_TYPE_SUBTITLE:
> +                codec->time_base = (AVRational){1, 1000};
>                  break;
>              default:
>                  abort();


looks ok.

-Justin

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to