Merge lp:~renatofilho/mediaplayer-app/remove-ffmpeg into lp:mediaplayer-app

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Michael Zanetti
Approved revision: 78
Merged at revision: 77
Proposed branch: lp:~renatofilho/mediaplayer-app/remove-ffmpeg
Merge into: lp:mediaplayer-app
Diff against target: 91 lines (+12/-7)
5 files modified
debian/changelog (+7/-2)
debian/control (+0/-1)
src/thumbnail-pipeline-gst.cpp (+3/-2)
tests/autopilot/mediaplayer_app/tests/test_player_with_video.py (+1/-1)
tests/videos/CMakeLists.txt (+1/-1)
To merge this branch: bzr merge lp:~renatofilho/mediaplayer-app/remove-ffmpeg
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+159866@code.launchpad.net

Commit message

releasing version 0.20.5

To post a comment you must log in.
75. By Renato Araujo Oliveira Filho

Only transcode video for thumbnail pipeline.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
76. By Renato Araujo Oliveira Filho

Replaced test video from mp4 to ogg format.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote :

You probably need to approve https://code.launchpad.net/~mterry/mediaplayer-app/hud1/+merge/158474 before this can land.

Revision history for this message
Michael Terry (mterry) wrote :

Also, don't replace Didier's changelog like that. You can simply add to it. dch should do that for you automatically. And you shouldn't change UNRELEASED to quantal. The auto-uploader will handle that.

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

> Also, don't replace Didier's changelog like that. You can simply add to it.
> dch should do that for you automatically. And you shouldn't change UNRELEASED
> to quantal. The auto-uploader will handle that.

I have discussed with Didier and Sergio about that, we don't have the auto-uploader configured for quantal, so we still need to change to quantal in order to get quantal packages released. We are still using quantal for demos.

77. By Renato Araujo Oliveira Filho

Reverted comments removal on changelog

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
78. By Renato Araujo Oliveira Filho

Added comments to explain the flags property in playbin2 element.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-04-19 06:25:20 +0000
3+++ debian/changelog 2013-04-24 11:42:26 +0000
4@@ -1,8 +1,13 @@
5-mediaplayer-app (0.20.4-0ubuntu1) UNRELEASED; urgency=low
6+mediaplayer-app (0.20.5) quantal; urgency=low
7
8+ [ Didier Roche ]
9 * Prepare for daily release
10
11- -- Didier Roche <didrocks@ubuntu.com> Fri, 19 Apr 2013 08:24:49 +0200
12+ [ Renato Araujo Oliveira Filho ]
13+ * Stop video at EOF
14+ * Removed ffmepg codecs from dependency list
15+
16+ -- Renato Araujo Oliveira Filho <renato@canonical.com> Fri, 19 Apr 2013 11:33:59 -0300
17
18 mediaplayer-app (0.20.4) quantal; urgency=low
19
20
21=== modified file 'debian/control'
22--- debian/control 2013-04-23 16:24:59 +0000
23+++ debian/control 2013-04-24 11:42:26 +0000
24@@ -22,7 +22,6 @@
25 Architecture: i386 amd64 armhf
26 Depends: ${misc:Depends},
27 ${shlibs:Depends},
28- gstreamer0.10-ffmpeg,
29 gstreamer0.10-plugins-base,
30 gstreamer0.10-plugins-good,
31 qtdeclarative5-hud1.0,
32
33=== modified file 'src/thumbnail-pipeline-gst.cpp'
34--- src/thumbnail-pipeline-gst.cpp 2013-04-04 21:22:18 +0000
35+++ src/thumbnail-pipeline-gst.cpp 2013-04-24 11:42:26 +0000
36@@ -124,6 +124,7 @@
37 vsink = gst_element_factory_make ("fakesink", "video-fake-sink");
38 g_object_set (vsink, "sync", TRUE, NULL);
39 g_object_set (m_pipeline,
40+ "flags", 0x00000001, // Make sure to render only the video stream (we do not need audio here)
41 "audio-sink", asink,
42 "video-sink", vsink,
43 NULL);
44@@ -160,7 +161,7 @@
45
46 // use standard deviation of the histogram to discovery a good image
47 bool ThumbnailPipeline::isMeaningful(QImage img)
48-{
49+{
50 const static int threshold = 15;
51 const float average = (img.height() * img.width()) / 256;
52 int histogram[256];
53@@ -181,7 +182,7 @@
54 }
55
56 QImage ThumbnailPipeline::request(qint64 time, QSize size, bool skipBlack)
57-{
58+{
59 if (m_pipeline == 0) {
60 qWarning() << "Pipiline not ready";
61 return QImage();
62
63=== modified file 'tests/autopilot/mediaplayer_app/tests/test_player_with_video.py'
64--- tests/autopilot/mediaplayer_app/tests/test_player_with_video.py 2013-04-05 13:07:26 +0000
65+++ tests/autopilot/mediaplayer_app/tests/test_player_with_video.py 2013-04-24 11:42:26 +0000
66@@ -21,7 +21,7 @@
67 In the testfarm, the application may take some time to show up."""
68 def setUp(self):
69 super(TestPlayerWithVideo, self).setUp()
70- self.launch_app("small.mp4")
71+ self.launch_app("small.ogg")
72 self.assertThat(self.main_window.get_qml_view().visible, Eventually(Equals(True)))
73
74 def tearDown(self):
75
76=== modified file 'tests/videos/CMakeLists.txt'
77--- tests/videos/CMakeLists.txt 2013-04-04 21:22:18 +0000
78+++ tests/videos/CMakeLists.txt 2013-04-24 11:42:26 +0000
79@@ -1,6 +1,6 @@
80 project(sample_videos)
81
82-set(MEDIAPLAYER_TEST_VIDEOS small.mp4)
83+set(MEDIAPLAYER_TEST_VIDEOS small.ogg)
84
85 install(FILES ${MEDIAPLAYER_TEST_VIDEOS}
86 DESTINATION ${CMAKE_INSTALL_DATADIR}/media-player/videos
87
88=== removed file 'tests/videos/small.mp4'
89Binary files tests/videos/small.mp4 2013-02-21 20:52:29 +0000 and tests/videos/small.mp4 1970-01-01 00:00:00 +0000 differ
90=== added file 'tests/videos/small.ogg'
91Binary files tests/videos/small.ogg 1970-01-01 00:00:00 +0000 and tests/videos/small.ogg 2013-04-24 11:42:26 +0000 differ

Subscribers

People subscribed via source and target branches