search for: get_format

Displaying 20 results from an estimated 23 matches for "get_format".

Did you mean: set_format
2010 Oct 23
2
[Wine 1.3.5] Glu error on custom 3D application
...a : 0 trace:wgl:dump_PIXELFORMATDESCRIPTOR - Accum : 0 trace:wgl:dump_PIXELFORMATDESCRIPTOR - Depth : 32 trace:wgl:dump_PIXELFORMATDESCRIPTOR - Stencil : 0 trace:wgl:dump_PIXELFORMATDESCRIPTOR - Aux : 0 trace:wgl:dump_PIXELFORMATDESCRIPTOR - iLayerType : PFD_MAIN_PLANE trace:wgl:get_formats Found 18 bitmap capable fbconfigs trace:wgl:get_formats Found onscreen format FBCONFIG_ID 0x75 corresponding to iPixelFormat 1 at GLX index 0 trace:wgl:get_formats Found onscreen format FBCONFIG_ID 0x76 corresponding to iPixelFormat 2 at GLX index 1 trace:wgl:get_formats Found onscreen format FBCO...
2006 Jun 16
3
Not able to recognize helper class method in controller!
Hi, Not able to recognize helper class method in controller! When I try to call some method "get_formatted()" in my controller, it says local method not recognized. Please help me out. Thanks, josua -- Posted via http://www.ruby-forum.com/.
2010 Apr 07
1
[PATCH] Connection: Handle case of cdrom with no <source> element
...$driver = - $disk->getOwnerDocument()->createElement("driver"); - $disk->appendChild($driver); - } - $driver->setAttribute('name', 'qemu'); - $driver->setAttribute('type', $vol->get_format()); - - # Remove the @file or @dev attribute before adding a new one - $source_e->removeAttributeNode($source); - - # Set @file or @dev as appropriate - if ($vol->is_block()) - { - $disk->setAttribute('type', ...
2007 Apr 05
0
4 commits - libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_stream.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_mad.c
...c = swfdec_codec_get_audio (flv->format); if (flv->codec) { - flv->decoder = swfdec_audio_codec_init (flv->codec, flv->width, flv->in); + flv->decoder = swfdec_audio_codec_init (flv->codec, flv->format, flv->width, flv->in); flv->out = swfdec_audio_codec_get_format (flv->codec, flv->decoder); } } else if (format != flv->format || diff --git a/libswfdec/swfdec_audio_stream.c b/libswfdec/swfdec_audio_stream.c index 58e2175..b2c7fd3 100644 --- a/libswfdec/swfdec_audio_stream.c +++ b/libswfdec/swfdec_audio_stream.c @@ -202,7 +202,7 @@ swfdec_...
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...tails_page(self, screen): + rows = 0 + if self.__config.needs_target_path(): + self.__target_path = Entry(50, self.__config.get_target_path()) + rows += 1 + if self.__config.needs_format(): + formats = [] + for format in self.__config.get_formats(): + formats.append([format, format, format is self.__config.get_format()]) + self.__formats = RadioBar(screen, formats) + rows += 1 + if self.__config.needs_hostname(): + self.__hostname = Entry(50, self.__config.get_hostname()) +...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that, it refactors the domain administration pieces to now properly use storage pools and volumes when defining a new VM.
2007 Mar 16
0
find() and SQL functions
...conditions => ["(../..) AND YEAR(STR_TO_DATE(my_table.my_row,''%Y-%m-%d %H:%i:%s'')) = #{year})"], :select => [../..]) or Model.find(:all, :include => [../..], :conditions => ["(../..) AND YEAR(STR_TO_DATE(my_table.my_row,GET_FORMAT(DATETIME,''ISO''))) = #{year})"], :select => [../..]) Is there a way to combine the power of AR and SQL functions? In the example above, I could use Ruby Time Class but what can I do if I want to use more specific SQL syntax (UNION, ...). I guess I have to make...
2010 Mar 31
1
[PATCH] Add LocalCopy transfer method to transfer local files to a target
...$disk->getOwnerDocument()->createElement("driver"); - $disk->appendChild($driver); - } - $driver->setAttribute('name', 'qemu'); - $driver->setAttribute('type', $vol->get_format()); - - # Remove the @file or @dev attribute before adding a new one - $source_e->removeAttributeNode($source); - - # Set @file or @dev as appropriate - if ($vol->is_block()) - { - $disk->setAttri...
2013 Sep 05
1
[PATCH] virt-v2v: Add verbose message logging
...$output_format, $output_sparse); # Open a libguestfs handle on the guest's storage devices +if (defined($verbose)) { logmsg NOTICE, __x('Starting guestfs') } my @disks = map { [ $_->{device}, $_->{dst}->get_path(), $_->{dst}->get_format() ] } @{$meta->{disks}}; @@ -623,13 +664,17 @@ my $guestcaps; my $root; eval { # Inspect the guest + if (defined($verbose)) { logmsg NOTICE, __x('Inspecting guest') } $root = inspect_guest($g, $transferdev); # Modify the guest and its metadata + if (defined($verb...
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...name); - }; - die(user_message(__x("Failed to get storage volume: {error}", - error => $@->stringify()))) if ($@); - - return $class->_new($vol); -} - -sub get_path -{ - my $self = shift; - - return $self->{vol}->get_path(); -} - -sub get_format -{ - my $self = shift; - - my $vol = $self->{vol}; - my $voldom = new XML::DOM::Parser->parse($vol->get_xml_description()); - - my ($format) = $voldom->findnodes('/volume/target/format/@type'); - $format = $format->getValue() if (defined($format)); - $format...
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
...+++ b/lib/Sys/VirtV2V/Connection/Source.pm @@ -167,7 +167,7 @@ sub _volume_copy v2vdie __x('Didn\'t receive full volume. Received {received} '. 'of {total} bytes.', received => $total, total => $src->get_size()) - if $src->get_format() eq "raw" && $total != $src->get_size(); + if $src->get_format() eq "raw" && $total < $src->get_size(); return $dst; } -- 1.7.4
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
...= $format->getValue() if (defined($format)); - - # Auto-detect if no format is specified explicitly - $format ||= 'auto'; - - $driver->setAttribute('type', $format); + $driver->setAttribute('type', $vol->get_format()); # Remove the @file or @dev attribute before adding a new one $source_e->removeAttributeNode($source); - $path = $vol->get_path(); - # Set @file or @dev as appropriate - if ($vol->get_info()->{type}...
2013 May 10
4
remotely mounting client disks in p2v server
Just spent a little time poking around w/ p2v and am attaching the following pseudo-code for consideration. Note the patches aren't commit ready yet, just looking for thoughts - The first is a fix to get client image building process working on F17. It seems the version of ksflatten there didn't expand the nested %includes which was causing errors (also --interpreter image-minimizer
2013 May 16
1
support remotely mounting disk images in p2v
Figure I'd share the latest revision to p2v I had regarding $subject. The patch now applies against HEAD and compiles fine. I was able to update the package on the client and run virt-p2v, though have yet to do a full end-to-end verification Most likely a little more work is needed to tidy up some edge cases and fully flush things out, but the majority of the work should be in place. On the
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add and remove volumes for existing pools.
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...rmat = format; flv->width = width; flv->in = in; - flv->codec = swfdec_codec_get_audio (flv->format); - if (flv->codec) { - flv->decoder = swfdec_audio_codec_init (flv->codec, flv->format, flv->width, flv->in); - flv->out = swfdec_audio_codec_get_format (flv->codec, flv->decoder); - } + flv->decoder = swfdec_audio_decoder_new (flv->format, flv->width, flv->in); + if (flv->decoder == NULL) + return NULL; } else if (format != flv->format || width != flv->width || in != flv->in) { SWFDEC_ER...
2020 Jul 03
0
Wine release 5.12
...l PROFILE_DeleteSection directly from WritePrivateProfile* functions. kernel32: Open the INI file in PROFILE_DeleteSection(). qcap: Combine the internal header files. qcap: Use a function table for video capture driver operations. qcap: Pass a single AM_MEDIA_TYPE pointer to get_format(). qcap: Use a condition variable to synchronize with the video capture thread. msvcrt: Print assertion failure messages to stderr. winegstreamer: Don't store DirectShow caps. include: Use the public VM_COUNTERS and VM_COUNTERS_EX structure definitions. ntdll: Fill...
2009 May 22
0
Wine release 1.1.22
...l: Select bitmap capable formats when PFD_DRAW_TO_BITMAP is requested by the caller. wgl: Offer PFD_GENERIC_ACCELERATED on bitmap capable formats. wgl: Add WGL_SWAP_METHOD_ARB support. wgl: Make sure WGL_SUPPORT_GDI_ARB is only seen on formats on which we set it during startup (in get_formats). wgl: Make sure WGL_DRAW_TO_BITMAP_ARB is only seen on our duplicated bitmap-capable formats. wgl: Use local pixel format data for WGL_ACCELERATION_ARB. wgl: Set PFD_GENERIC_FORMAT on bitmap formats instead of PFD_GENERIC_ACCELERATED. wgl: Add a test for WGL_ACCELERATION_A...