Permalink
Browse files

Merge branch 'master' of git://github.com/MythTV/mythtv into mycrosss…

…ource
  • Loading branch information...
2 parents 2638ccc + 9b23866 commit 23b918ae1b5daf87e49c8e05407000b9f5e0de8d @pinkylinc committed Jun 5, 2012
Showing 633 changed files with 5,650 additions and 7,967 deletions.
@@ -357,7 +357,7 @@ void FileSelector::cancelPressed()
if (m_selectorType == FSTYPE_FILELIST)
emit haveResult(true);
else
- emit haveResult("");
+ emit haveResult(QString());
Close();
}
@@ -114,11 +114,11 @@ void GameScannerThread::updateDB()
{
if (!(*p).indb)
{
- RomInfo *add = new RomInfo(0, (*p).romfile, (*p).system,
- (*p).romname, "", "", "", (*p).rompath,
- "", "", 0, (*p).gametype, 0, "", "", "",
- "", "", "", "", "");
- add->SaveToDatabase();
+ RomInfo add(0, (*p).romfile, (*p).system,
+ (*p).romname, "", "", false, (*p).rompath,
+ "", "", 0, (*p).gametype, 0, "", "", "",
+ "", "", "", "", "");
+ add.SaveToDatabase();
m_DBDataChanged = true;
}
if (m_HasGUI)
@@ -369,7 +369,7 @@ QList<RomInfo*> RomInfo::GetAllRomInfo()
RomInfo *RomInfo::GetRomInfoById(int id)
{
- RomInfo *ret = new RomInfo();
+ RomInfo *ret = NULL;
MSqlQuery query(MSqlQuery::InitCon());
@@ -382,10 +382,7 @@ RomInfo *RomInfo::GetRomInfoById(int id)
query.bindValue(":INTID", id);
if (!query.exec())
- {
MythDB::DBError("GetRomInfoById", query);
- return ret;
- }
if (query.next())
{
@@ -412,6 +409,9 @@ RomInfo *RomInfo::GetRomInfoById(int id)
query.value(17).toString());
}
+ if (!ret)
+ ret = new RomInfo();
+
return ret;
}
@@ -766,13 +766,14 @@ void NetSearch::slotItemChanged()
{
MythUIButtonListItem *item = m_siteList->GetItemCurrent();
- ResultItem *res = new ResultItem(item->GetText(), QString(), QString(),
- QString(), QString(), QString(), QString(), QDateTime(),
- 0, 0, -1, QString(), QStringList(), QString(), QStringList(), 0, 0, QString(),
- 0, QStringList(), 0, 0, 0);
+ ResultItem res(item->GetText(), QString(), QString(),
+ QString(), QString(), QString(), QString(),
+ QDateTime(), 0, 0, -1, QString(), QStringList(),
+ QString(), QStringList(), 0, 0, QString(),
+ 0, QStringList(), 0, 0, 0);
MetadataMap metadataMap;
- res->toMap(metadataMap);
+ res.toMap(metadataMap);
SetTextFromMap(metadataMap);
if (m_thumbImage)
@@ -400,13 +400,13 @@ def _allow_change(self, tag, overwrite):
cast.job.lower().replace(' ','_'))))
# pull images
-# for image in metadata.images:
-# if not hasattr(self.artwork, image.type):
-# pass
-# if getattr(self.artwork, image.type, ''):
-# continue
-# setattr(self.artwork, image.type, image.filename)
-# getattr(self.artwork, image.type).downloadFrom(image.url)
+ for image in metadata.images:
+ if not hasattr(self.artwork, image.type):
+ pass
+ if getattr(self.artwork, image.type, ''):
+ continue
+ setattr(self.artwork, image.type, image.filename)
+ getattr(self.artwork, image.type).downloadFrom(image.url)
self.update()
@@ -439,10 +439,10 @@ def exportMetadata(self):
if role=='Writer': role = 'Author'
metadata.people.append(OrdDict((('name',name), ('job',role))))
- for arttype in ['coverart', 'fanart', 'banner']:
- art = getattr(self.artwork, arttype)
- if art:
- metadata.images.append(OrdDict((('type',arttype), ('filename',art))))
+# for arttype in ['coverart', 'fanart', 'banner']:
+# art = getattr(self.artwork, arttype)
+# if art:
+# metadata.images.append(OrdDict((('type',arttype), ('filename',art))))
return metadata
View
@@ -195,7 +195,7 @@ Configuration options:
--disable-swscale disable libswscale build
--enable-postproc enable GPLed postprocessing support [no]
--disable-avfilter disable video filter support [no]
- --disable-avresample disable libavresample build [no]
+ --enable-avresample enable libavresample build [no]
--disable-pthreads disable pthreads [auto]
--enable-w32threads use Win32 threads [no]
--enable-x11grab enable X11 grabbing [no]
@@ -1984,11 +1984,13 @@ aconvert_filter_deps="swresample"
amovie_filter_deps="avcodec avformat"
aresample_filter_deps="swresample"
ass_filter_deps="libass"
+asyncts_filter_deps="avresample"
blackframe_filter_deps="gpl"
boxblur_filter_deps="gpl"
colormatrix_filter_deps="gpl"
cropdetect_filter_deps="gpl"
delogo_filter_deps="gpl"
+deshake_filter_deps="avcodec"
drawtext_filter_deps="libfreetype"
frei0r_filter_deps="frei0r dlopen"
frei0r_filter_extralibs='$ldl'
@@ -2015,13 +2017,14 @@ avformat_deps="avcodec"
postproc_deps="gpl"
# programs
+ffmpeg_deps="avcodec avfilter avformat swscale swresample"
+ffmpeg_select="buffersink_filter format_filter aformat_filter
+ setpts_filter"
ffplay_deps="avcodec avformat swscale swresample sdl"
ffplay_select="buffersink_filter rdft"
ffprobe_deps="avcodec avformat"
ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
ffserver_extralibs='$ldl'
-ffmpeg_deps="avcodec avfilter avformat swscale swresample format_filter"
-ffmpeg_select="buffersink_filter"
doc_deps="texi2html"
@@ -2066,56 +2069,6 @@ test_deps(){
mxf_d10_test_deps="avfilter"
seek_lavf_mxf_d10_test_deps="mxf_d10_test"
-test_deps _encoder _decoder \
- adpcm_ima_qt \
- adpcm_ima_wav \
- adpcm_ms \
- adpcm_swf \
- adpcm_yamaha=adpcm_yam \
- alac \
- asv1 \
- asv2 \
- bmp \
- dnxhd="dnxhd_1080i dnxhd_720p dnxhd_720p_rd" \
- dvvideo="dv dv_411 dv50" \
- ffv1 \
- flac \
- flashsv \
- flv \
- adpcm_g726=g726 \
- gif \
- h261 \
- h263="h263 h263p" \
- huffyuv \
- jpegls \
- mjpeg="jpg mjpeg ljpeg" \
- mp2 \
- mpeg1video="mpeg mpeg1b" \
- mpeg2video="mpeg2 mpeg2_422 mpeg2_idct_int mpeg2_ilace mpeg2_ivlc_qprd" \
- mpeg2video="mpeg2thread mpeg2thread_ilace" \
- mpeg4="mpeg4 mpeg4_adap mpeg4_qpel mpeg4_qprd mpeg4adv mpeg4nr" \
- mpeg4="mpeg4thread error rc" \
- msmpeg4v3=msmpeg4 \
- msmpeg4v2 \
- pbm=pbmpipe \
- pcx \
- pgm="pgm pgmpipe" \
- png \
- ppm="ppm ppmpipe" \
- rawvideo="rgb yuv" \
- roq \
- rv10 \
- rv20 \
- sgi \
- snow="snow snowll" \
- svq1 \
- targa=tga \
- tiff \
- wmav1 \
- wmav2 \
- wmv1 \
- wmv2 \
-
test_deps _muxer _demuxer \
aiff \
pcm_alaw=alaw \
@@ -2141,7 +2094,6 @@ test_deps _muxer _demuxer \
wav \
yuv4mpegpipe=yuv4mpeg \
-ac3_fixed_test_deps="ac3_fixed_encoder ac3_decoder"
colormatrix1_test_deps="colormatrix_filter"
colormatrix2_test_deps="colormatrix_filter"
flashsv2_test_deps="zlib"
@@ -2241,7 +2193,6 @@ enable avcodec
enable avdevice
enable avfilter
enable avformat
-enable avresample
enable avutil
enable postproc
enable stripping
@@ -2392,14 +2343,13 @@ FILTER_LIST=$(find_things filter FILTER external/FFmpeg/libavfilter/allfil
#find_tests(){
# map "echo ${2}\${v}_test" $(ls "$source_path"/tests/ref/$1 | grep -v '[^-a-z0-9_]')
#}
-
-#ACODEC_TESTS=$(find_tests acodec)
-#VCODEC_TESTS=$(find_tests vsynth1)
+#
+#LAVF_FATE_TESTS=$(find_tests lavf-fate)
#LAVF_TESTS=$(find_tests lavf)
#LAVFI_TESTS=$(find_tests lavfi)
#SEEK_TESTS=$(find_tests seek seek_)
-
-#pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
+#
+#ALL_TESTS="$LAVF_FATE_TESTS $LAVF_TESTS $LAVFI_TESTS $SEEK_TESTS"
for n in $COMPONENT_LIST; do
v=$(toupper ${n%s})_LIST
@@ -3680,14 +3630,20 @@ die_license_disabled() {
enabled $1 || { enabled $2 && die "$2 is $1 and --enable-$1 is not specified."; }
}
+die_license_disabled_gpl() {
+ enabled $1 || { enabled $2 && die "$2 is incompatible with the gpl and --enable-$1 is not specified."; }
+}
+
+#die_license_disabled gpl libcdio
+#die_license_disabled gpl libutvideo
die_license_disabled gpl libx264
die_license_disabled gpl libxavs
die_license_disabled gpl libxvid
-die_license_disabled gpl postproc
die_license_disabled gpl x11grab
die_license_disabled nonfree libaacplus
die_license_disabled nonfree libfaac
+#enabled gpl && die_license_disabled_gpl nonfree openssl
die_license_disabled version3 libopencore_amrnb
die_license_disabled version3 libopencore_amrwb
@@ -5304,8 +5260,6 @@ print_config CONFIG_ "$config_files" $CONFIG_LIST \
$MYTHTV_CONFIG_LIST \
cat >> $TMPMAK <<EOF
-ACODEC_TESTS=$(print_enabled -n _test $ACODEC_TESTS)
-VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS)
@@ -2,6 +2,17 @@ Entries are sorted chronologically from oldest to youngest within each release,
releases are sorted from youngest to oldest.
version next:
+- INI output in ffprobe
+
+
+version 0.11:
+
+- Fixes: CVE-2012-2772, CVE-2012-2774, CVE-2012-2775, CVE-2012-2776, CVE-2012-2777,
+ CVE-2012-2779, CVE-2012-2782, CVE-2012-2783, CVE-2012-2784, CVE-2012-2785,
+ CVE-2012-2786, CVE-2012-2787, CVE-2012-2788, CVE-2012-2789, CVE-2012-2790,
+ CVE-2012-2791, CVE-2012-2792, CVE-2012-2793, CVE-2012-2794, CVE-2012-2795,
+ CVE-2012-2796, CVE-2012-2797, CVE-2012-2798, CVE-2012-2799, CVE-2012-2800,
+ CVE-2012-2801, CVE-2012-2802, CVE-2012-2803, CVE-2012-2804,
- v408 Quicktime and Microsoft AYUV Uncompressed 4:4:4:4 encoder and decoder
- setfield filter
- CDXL demuxer and decoder
@@ -30,12 +41,15 @@ version next:
- MicroDVD decoder
- Avid Meridien (AVUI) encoder and decoder
- accept + prefix to -pix_fmt option to disable automatic conversions.
-- audio filters support in libavfilter and avconv
+- complete audio filtering in libavfilter and ffmpeg
- add fps filter
-- audio split filter
+- vorbis parser
+- png parser
+- audio mix filter
version 0.10:
+
- Fixes: CVE-2011-3929, CVE-2011-3934, CVE-2011-3935, CVE-2011-3936,
CVE-2011-3937, CVE-2011-3940, CVE-2011-3941, CVE-2011-3944,
CVE-2011-3945, CVE-2011-3946, CVE-2011-3947, CVE-2011-3949,
@@ -400,8 +400,8 @@ x86 Michael Niedermayer
Releases
========
+0.11 Michael Niedermayer
0.10 Michael Niedermayer
-0.9 Michael Niedermayer
@@ -1,8 +1,9 @@
This code was resynced upstream to:
-git://source.ffmpeg.org/ffmpeg.git at SHA1 d3db8988d on March 31, 2012
-
-git://source.ffmpeg.org/ffmpeg.git at SHA1 ea5dab58e on May 23, 2012
+git://source.ffmpeg.org/ffmpeg.git at SHA1 d3db8988d on March 31, 2012 (Beirdo)
+git://source.ffmpeg.org/ffmpeg.git at SHA1 ea5dab58e on May 23, 2012 (jya)
+git://source.ffmpeg.org/ffmpeg.git at SHA1 cc4d80c on June 1st, 2012 (jya)
+git://source.ffmpeg.org/ffmpeg.git at SHA1 f218121 on June 1st, 2012 (jya)
List of files modified from original FFmpeg:
Makefile
@@ -27,7 +28,7 @@ libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodecheader.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
-libavcodec/myth_utils.c
+libavcodec/utils-mythtv.c <- new file
libavcodec/pcm.c
libavcodec/pgssubdec.c
libavformat/Makefile
@@ -40,7 +41,7 @@ libavformat/mpegts-mythtv.h <- new file
libavformat/mpegts.c
libavformat/mpegts.h
libavformat/nuv.c <- could be ignored, whitespace only
-libavformat/utils-myth.c <- new file
+libavformat/utils-mythtv.c <- new file
libavformat/utils.c
libavresample/libavresample.v
libavutil/bswap.h
@@ -65,11 +65,13 @@ static FILE *report_file;
void init_opts(void)
{
-#if CONFIG_SWSCALE
- sws_opts = sws_getContext(16, 16, 0, 16, 16, 0, SWS_BICUBIC,
+
+ if(CONFIG_SWSCALE)
+ sws_opts = sws_getContext(16, 16, 0, 16, 16, 0, SWS_BICUBIC,
NULL, NULL, NULL);
-#endif
- swr_opts = swr_alloc();
+
+ if(CONFIG_SWRESAMPLE)
+ swr_opts = swr_alloc();
}
void uninit_opts(void)
@@ -78,7 +80,10 @@ void uninit_opts(void)
sws_freeContext(sws_opts);
sws_opts = NULL;
#endif
- swr_free(&swr_opts);
+
+ if(CONFIG_SWRESAMPLE)
+ swr_free(&swr_opts);
+
av_dict_free(&format_opts);
av_dict_free(&codec_opts);
}
@@ -449,6 +454,7 @@ int opt_default(const char *opt, const char *arg)
}
}
#endif
+#if CONFIG_SWRESAMPLE
swr_class = swr_get_class();
if (!oc && !of && !os && (oswr = av_opt_find(&swr_class, opt, NULL, 0,
AV_OPT_SEARCH_CHILDREN | AV_OPT_SEARCH_FAKE_OBJ))) {
@@ -458,6 +464,7 @@ int opt_default(const char *opt, const char *arg)
return ret;
}
}
+#endif
if (oc || of || os || oswr)
return 0;
Oops, something went wrong.

0 comments on commit 23b918a

Please sign in to comment.