Change-Id: I6047f44dd46843160a2259e56fc937dd407f7b07
Bug-Tizen: TC-2106/related
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
%install
rm -rf %{buildroot}
%install
rm -rf %{buildroot}
%defattr(-, root, root)
%doc AUTHORS README
%license COPYING
%defattr(-, root, root)
%doc AUTHORS README
%license COPYING
-%{_bindir}/lightmediascanner*
%{_libdir}/*.so.*
%{_libdir}/lightmediascanner/plugins/*
%{_prefix}/share/dbus-1/services/*.service
%{_libdir}/*.so.*
%{_libdir}/lightmediascanner/plugins/*
%{_prefix}/share/dbus-1/services/*.service
%files test
%defattr(-, root, root)
%files test
%defattr(-, root, root)
-%{_bindir}/lms-test
-%{_bindir}/lms-list-parsers
};
static const struct codec_container_descriptor _codec_list[] = {
};
static const struct codec_container_descriptor _codec_list[] = {
- {CODEC_ID_MP3, &_codec_mpeg1layer3},
+ {AV_CODEC_ID_MP3, &_codec_mpeg1layer3},
{AV_CODEC_ID_WMAV1, &_codec_audio_asf},
{AV_CODEC_ID_WMAV2, &_codec_audio_asf},
{AV_CODEC_ID_WMAPRO, &_codec_audio_asf},
{AV_CODEC_ID_WMAV1, &_codec_audio_asf},
{AV_CODEC_ID_WMAV2, &_codec_audio_asf},
{AV_CODEC_ID_WMAPRO, &_codec_audio_asf},
static const struct codec_container _codecs[] = {
{
static const struct codec_container _codecs[] = {
{
.get_codec = _get_common_codec,
.get_container = NULL,
},
.get_codec = _get_common_codec,
.get_container = NULL,
},
s->video.width = ctx->width;
s->video.height = ctx->height;
s->video.width = ctx->width;
s->video.height = ctx->height;
- if (stream->r_frame_rate.den)
- s->video.framerate = stream->r_frame_rate.num / stream->r_frame_rate.den;
+ if (stream->avg_frame_rate.den)
+ s->video.framerate = stream->avg_frame_rate.num / stream->avg_frame_rate.den;
snprintf(aspect_ratio, sizeof(aspect_ratio), "%d:%d",
ctx->sample_aspect_ratio.num, ctx->sample_aspect_ratio.den);
snprintf(aspect_ratio, sizeof(aspect_ratio), "%d:%d",
ctx->sample_aspect_ratio.num, ctx->sample_aspect_ratio.den);