~ubuntu-branches/ubuntu/vivid/mplayerplug-in/vivid

« back to all changes in this revision

Viewing changes to Source/plugin-support.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2006-08-06 14:28:57 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060806142857-rti2h4zrt8yvqwka
Tags: 3.30-1
* New upstream release
* Apply patch from upstream to fix media playing when LIRC is enabled in
  mplayer

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
{
197
197
    char *temp;
198
198
 
199
 
    if (strncasecmp(src,"mms",3) == 0) {
 
199
    if (strncasecmp(src, "mms", 3) == 0) {
200
200
        temp = (char *) NPN_MemAlloc(sizeof(char) * (strlen(src) + 1 +
201
201
                                                     sizeof("http") -
202
202
                                                     sizeof("mms")));
467
467
        //operations on pipes are atomic
468
468
 
469
469
        if (retval < (int) strlen(buffer)) {
470
 
                if (DEBUG)
471
 
                        printf("*****sendCommand Truncated*****\n");
 
470
            if (DEBUG)
 
471
                printf("*****sendCommand Truncated*****\n");
472
472
 
473
473
        }
474
474
 
584
584
        }
585
585
        instance->threadsetup = 0;
586
586
#ifdef GTK_ENABLED
587
 
        if (GTK_IS_WIDGET(instance->drawing_area)) {
588
 
            gtk_widget_destroy(instance->drawing_area);
589
 
            instance->drawing_area = NULL;
590
 
        }
 
587
//      if (GTK_IS_WIDGET(instance->drawing_area)) {
 
588
//          gtk_widget_destroy(instance->drawing_area);
 
589
//          instance->drawing_area = NULL;
 
590
//      }
591
591
#endif
592
592
    }
593
593
}