~woodrow-shen/totem/mybranch

« back to all changes in this revision

Viewing changes to src/totem-audio-preview.c

Tags: 2.24.3-3
* totem-mozilla.docs: ship README.browser-plugin which explains how to 
  disable the plugin for some MIME types.
* rules: remove the hack that only let totem-xine support VCDs and 
  DVDs, now that GStreamer supports them. Closes: #370789.
* 01_fake_keypresses.patch: new patch. Completely disable the broken 
  XTEST code that generates fake keypresses. Closes: #500330.
* 90_autotools.patch: regenerated.
* Build-depend on nautilus 2.22 to be sure to build the extension for 
  the correct version.
* totem-xine depends on libxine1-x.
* Standards version is 3.8.1.
* Upload to unstable.
* 04_tracker_build.patch: new patch, stolen upstream. Fix build with 
  latest tracker version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA.
18
18
 *
19
19
 * The Totem project hereby grant permission for non-gpl compatible GStreamer
20
20
 * plugins to be used and distributed together with GStreamer and Totem. This
32
32
 
33
33
#include <gtk/gtk.h>
34
34
 
35
 
#ifndef HAVE_GTK_ONLY
36
 
#include <gnome.h>
37
 
#endif
38
 
 
39
35
#include <bacon-video-widget.h>
40
36
#include <glib/gthread.h>
41
37
#include <string.h>
108
104
        }
109
105
 
110
106
        if (filenames != NULL && g_strv_length (filenames) != 1) {
111
 
                g_print ("Too many URIs passed but only one is required\n");
 
107
                char *help;
 
108
                help = g_option_context_get_help (context, FALSE, NULL);
 
109
                g_print ("%s", help);
 
110
                g_free (help);
112
111
                return 1;
113
112
        }
114
113
        path = filenames ? filenames[0] : "fd://0";